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

BACKUP DB COMMAND RETURNS A BLANK IN SQLSTATE IN SQLCA STRUCTURE

product:
DB2 FOR LUW / DB2FORLUW / 970 - 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.7 FixPak 2                          * 
****************************************************************
Local Fix:
available fix packs:
DB2 Version 9.7 Fix Pack 2 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 3 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 3a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 4 for Linux, UNIX, and Windows
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 9a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9 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 2
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
06.10.2009
25.05.2010
25.05.2010
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.2 FixList