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 IC74948 Status: Closed

THE SPECIAL REGISTER CLIENT ACCTNG IS CHANGED TO BLANK AFTER "DB2
-TVF" EXECUTION

product:
DB2 FOR LUW / DB2FORLUW / 950 - 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 changed to blank after * 
* "db2 -tvf" execution                                         * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 version V9.5 FP8                              * 
****************************************************************
Local Fix:
not available
available fix packs:
DB2 Version 9.5 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 10 for Linux, UNIX, and Windows

Solution
Problem was first fixed in Version 9.5 FixPak 8
Workaround
not known / see Local fix
BUG-Tracking
forerunner  : APAR is sysrouted TO one or more of the following: IC75579 
follow-up : 
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
09.03.2011
05.07.2011
05.07.2011
Problem solved at the following versions (IBM BugInfos)
9.5.,
9.5.FP8
Problem solved according to the fixlist(s) of the following version(s)
9.5.0.8 FixList