home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Latest versionsfixlist
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

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
DB2 Version 9.7 Fix Pack 6 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 7 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 10 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 FixList