June 2018
Intermediate to advanced
478 pages
10h 52m
English
The db2greg command can be used to list and modify the global registry settings. The physical global registry file is located at /var/db2/global.reg in a root Db2 installation, and at $HOME/sqllib/global.reg in a non-root Db2 installation. The command output for a root installation would look like this:
db2greg -dump
S,TSA,4.1.0.3,/opt/IBM/tsamp,DG_NOT_ALLOWED,DB2_INSTALLED,0,0,-,1496866184,0
S,RSCT,3.2.1.2,/usr/sbin/rsct,DG_NOT_ALLOWED,DB2_INSTALLED,0,0,-,1496866184,0
S,DB2,11.1.3.3,/opt/ibm/db2/V11.1,,,3,0,,1503867003,0
V,DB2GPRF,DB2SYSTEM,vmlxeiml001.system.lab,/opt/ibm/db2/V11.1,
I,DB2,11.1.3.3,db2inst1,/db/home/db2inst1/sqllib,,1,0,/opt/ibm/db2/V11.1,,
I,DB2,11.1.3.3,db2inst2,/db/home/db2inst2/sqllib,,1,0,/opt/ibm/db2/V11.1,, ...Read now
Unlock full access