P. 1
Getting_Started_with_DB2_Express_v9.7_p4.pdf

Getting_Started_with_DB2_Express_v9.7_p4.pdf

|Views: 18|Likes:
Published by mmmaheshwari

More info:

Published by: mmmaheshwari on Mar 02, 2013
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

11/13/2015

pdf

text

original

DB2 profile registry variables include parameters that may be platform specific and can be
set globally (affecting all instances), or at the instance level (affecting one particular
instance).

Table 4.5 shows some useful commands to manipulate the DB2 profile registry

Command

Description

db2set -all

Lists all the DB2 profile registry variables that
are currently set

db2set –lr

Lists all the DB2 profile registry variables

db2set =

Assigns a parameter with a given value

Table 4.5 - Commands to manipulate the DB2 profile registry

Table 4.6 shows some of the most commonly used DB2 registry variables

Registry Variable Description

DB2COMM

Specifies the communication managers that are started when the
database manager is started.

DB2_EXTSECURITY On Windows, prevents unauthorized access to DB2 by locking DB2
system files

DB2_COPY_NAME

Stores the name of the DB2 copy currently in use.

To switch to a different DB2 copy installed, run the
installpath\bin\db2envar.bat command. This variable
cannot be used for this purpose.

Table 4.6 – Commonly used DB2 profile registry variables

74 Getting Started with DB2 Express-C

For example, to allow for communication using TCPIP, set the DB2COMM registry variable
to TCPIP as shown below:

db2set db2comm=tcpip

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->