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

BACKUP DB COMMAND RETURNS A BLANK IN SQLSTATE IN SQLCA STRUCTURE

product:
DB2 FOR LUW / DB2FORLUW / 950 - DB2
Problem description:
The backup db command returns a blank in sqlstate in sqlca 
structure as below. 
  And it can be a workaround to check "sqlcode" value instead of 
"sqlstate" in SQLCA in order to verify if the backup database 
operation ends successfully or not. 
 
$ db2 -a backup database TESTDB 
Backup successful. The timestamp for this backup image is 
:     20090916090620 
 
SQLCA Information 
 
sqlcaid : SQLCA     sqlcabc: 136   sqlcode: 0   sqlerrml: 0 
sqlerrmc: 
sqlerrp : SQL09053 
sqlerrd : (1) 0         (2) 0      (3) 0 
          (4) 0         (5) 0      (6) 0 
sqlwarn : (1)    (2)     (3)      (4)       (5)   (6) 
          (7)    (8)     (9)      (10)      (11) 
sqlstate:
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* Backup db command returns a blank in sqlstate in             * 
* sqlcastructure.                                              * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to db2 Version 9.5 FixPak 6                          * 
****************************************************************
Local Fix:
available fix packs:
DB2 Version 9.5 Fix Pack 6a for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 7 for Linux, UNIX, and Windows
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 6
Workaround
not known / see Local fix
BUG-Tracking
forerunner  : APAR is sysrouted TO one or more of the following: IC63579 
follow-up : 
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
06.10.2009
24.06.2010
24.06.2010
Problem solved at the following versions (IBM BugInfos)
9.5.
Problem solved according to the fixlist(s) of the following version(s)