DB2 - Problem description
Problem IC75579 | Status: Closed |
THE SPECIAL REGISTER CLIENT ACCTNG IS CHANGED TO BLANK AFTER "DB2 -TVF" EXECUTION | |
product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problem description: | |
Referring to DB2 Information Center, we know, when we run a CLP script file using the db2 -tvf filename command, it sets the special register CLIENT APPLNAME to CLP filename. However, the special register CLIENT ACCTNG is also changed to BLANK unexpectedly after "db2 -tvf" execution. A sample of the problem symptom is as follows. $ db2 "call sysproc.wlm_set_client_info('MYID','MYPC','MYAPPL','MYACC',NULL) " $ db2 list applications global show detail | grep db2bp | read a b agentid d ; db2 get snapshot for application agentid $agentid | egrep "^TP" TP Monitor client user ID = MYID TP Monitor client workstation name = MYPC TP Monitor client application name = MYAPPL TP Monitor client accounting string = MYACC $ db2 "values ( char(CLIENT USERID, 8), char(CLIENT WRKSTNNAME, 8), char(CLIENT APPLNAME, 16), char(CLIENT ACCTNG, 32) )" 1 2 3 4 -------- -------- ---------------- -------------------------------- MYID MYPC MYAPPL MYACC 1 record(s) selected. $ echo "select * from TAB01;" > select.sql $ db2 -tvf select.sql > /dev/null $ db2 list applications global show detail | grep db2bp | read a b agentid d; db2 get snapshot for application agentid $agentid | egrep "^TP" TP Monitor client user ID = MYID TP Monitor client workstation name = MYPC TP Monitor client application name = CLP select.sql TP Monitor client accounting string = | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * All * **************************************************************** * PROBLEM DESCRIPTION: * * The special register CLIENT ACCTNG is also changed to BLANK * * unexpectedly after "db2 -tvf" execution. * **************************************************************** * RECOMMENDATION: * * Upgrade to db2 Version 9.7 FixPak 5 * **************************************************************** | |
Local Fix: | |
not available | |
available fix packs: | |
DB2 Version 9.7 Fix Pack 5 for Linux, UNIX, and Windows | |
Solution | |
Problem was first fixed in Version 9.7 FixPak 5 | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 05.04.2011 15.12.2011 15.12.2011 |
Problem solved at the following versions (IBM BugInfos) | |
9.7. | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.7.0.5 |