Fixes are available
DB2 Version 9.5 Fix Pack 4 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 4a for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 5 for Linux, UNIX, and Windows
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
APAR status
Closed as program error.
Error description
The customer is running a CLI-based application with Deferred Prepare enabled (default). Customer is using DB2 V7 for z/OS. In the application they execute a query against DB2 z/OS v7. They are connecting through a v8.2 gateway. The query fails with a -30002 error: -30002 THE SQL STATEMENT CANNOT BE EXECUTED DUE TO A PRIOR CONDITION IN A CHAIN OF STATEMENTS Since Deferred Prepare is enabled, the PREPARE and OPEN are sent on the same request. The PREPARE receives a warning +1140W, and the OPEN succeeds. The Warning on the prepare however causes the entire statement to fail with the severe -30002 error, causing the application to return an error. This is tested on DB2 V7 for Z/OS with DB2 Connect V9.5 only.
Local fix
Local Fix : N/A
Problem summary
PREDICTIVE GOVERNOR IN DB2 V8 IS NOT IMPLEMENTED, THUS CAUSING HIS APPLICATION TO FAIL WITH A -30002 ERROR CODE
Problem conclusion
First Fixed in DB2 UDB 9.5 Fixpack 4
Temporary fix
N/A
Comments
APAR Information
APAR number
JR32156
Reported component name
DB2 UDB ESE WIN
Reported component ID
5765F4101
Reported release
950
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2009-02-25
Closed date
2009-06-01
Last modified date
2009-06-26
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
DB2 UDB ESE WIN
Fixed component ID
5765F4101
Applicable component levels
R950 PSY
UP
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEPGG","label":"DB2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"950","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
26 June 2009