16.10.2015 Views

Getting Started with DB2 Express-C

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 4 – <strong>DB2</strong> Environment 79<br />

20. Set the <strong>DB2</strong> Registry variable <strong>DB2</strong>COMM to tcpip and npipe in your instance<br />

and verify the new value<br />

db2set db2comm=tcpip,npipe<br />

db2stop<br />

db2start<br />

db2set -all<br />

21. Check the current value of the LOGSECOND db cfg parameter, and then change it<br />

to a value of 5 and verify the new value<br />

db2 connect to sample<br />

db2 get db cfg<br />

db2 update db cfg using LOGSECOND 5<br />

db2 get db cfg

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!