5.7. Case Study
You have just returned from a DB2 training class and would like to practice what you have learned by changing some DB2 registry variables and configuration parameters. The system you are working with has one instance called DB2 and two databases, mydb and testdb.
1. | First, you save the contents of your configuration files by simply redirecting the output to files. This is just as a precaution in case you need to go back to your current configuration.
db2set -all > db2set.bk db2 get dbm cfg > dbmcfg.bk db2 get db cfg for mydb > dbcfg_mydb.bk db2 get db cfg for testdb > dbcfg_testdb.bk set > environmentVariables.bk |
Get Understanding DB2®: Learning Visually with Examples now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.