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 | |
| 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 |
|