 
Displays, sets, or removes DB2 profile variables. An external environment registry command that supports local and remote administration, via the DB2 Administration Server, of DB2's environment variables stored in the DB2 profile registry.
Authorization
sysadm
Required Connection
None
Command Syntax
| 
>>-db2set---+-------------------+------------------------------->
            +-variable=--value--+
 
>--+-------------------------------------+-+-------+--+--------+->
   +--g----------------------------------+ +--all--+  +--null--+
   +-+---------------------------------+-+
     +--i--instance--+--------------+--+
                     +-node-number--+
 
>--+---------------------------------+-------------------------->
   +--r--instance--+--------------+--+
                   +-node-number--+
 
>--+-------------------------------------------------+--+-----+->
   +--n--DAS node--+------------------------------+--+  +--l--+
                   +--u--user--+---------------+--+     +--lr-+
                               +--p--password--+
 
>--+-----+--+----+---------------------------------------------><
   +--v--+  +--h-+
            +--?-+
 
 | 
Command Parameters
Examples
db2set -l
db2set -lr
db2set -g
db2set
db2set -all
db2set -all DB2COMM
db2set -r -i INST 3
db2set -i RMTINST -n RMTDAS -u MYID -p MYPASSWD DB2CHKPTR=
db2set -g DB2COMM=TCPIP,IPXSPX,NETBIOS
db2set -i MYINST DB2COMM=TCPIP
db2set -null DB2COMM
Usage Notes
If no variable name is specified, the values of all defined variables are displayed. If a variable name is specified, only the value of that variable is displayed. To delete a variable, specify variable=, followed by no value. To modify the value of a variable, specify variable=, followed by its new value. To set the value of a variable to NULL, specify variable -null. To display all the defined values of a variable, specify variable -all. To display all the defined variables in all registries, specify -all.