A fix is available
APAR status
Closed as program error.
Error description
DB2DDF DB2DRDA DB2SP IDAA IDAAV2R1/K An ABEND04E RC00D3440B from DSNLXROP:0068 can happen for a Stored Procedure counnecting to a remote server. DSNLXROP 0068 00D3440B *************************************************************** Additional Symptoms and Keywords: ABEND04E AB04E S004E 04E 04E-00D3440B 00D3440B RC00D3440B DSNLXROP DSNLXROP:0068 0068 ABNDID0068 ABID0068 VRADC0068 Stored Procedure with static ROWSET Cursor WITH RETURN IDAAV2R1/K
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: All Distributed Data Facility (DDF) users * * using static rowset cursors declared * * WITH RETURN under a stored procedure. * **************************************************************** * PROBLEM DESCRIPTION: A stored procedure declares a static * * rowset cursor WITH RETURN and opens * * it for remote execution. The open * * request encounters an internal error * * and DB2 abends with: * * ABEND04E RC00D3440B DSNLXROP:0068 * * The problem occurs after APAR PM45483 * * is applied. * **************************************************************** * RECOMMENDATION: * **************************************************************** A stored procedure declares a static rowset cursor WITH RETURN, opens it for remote execution, and fetches all of the rows from the cursor. When processing the SQLCODE +100 for the fetch, DB2 incorrectly deletes an internal control block required for any subsequent open of the same static cursor. When the stored procedure subsequently opens the cursor again, DB2 detects the error and abends as described. The problem only occurs after applying APAR PM45483.
Problem conclusion
DB2 has been changed to retain required control blocks needed for subsequent opens of a rowset cursor declared WITH RETURN under a stored procedure. Additional search keywords: IDAAV2R1/K
Temporary fix
Comments
APAR Information
APAR number
PM56492
Reported component name
DB2 OS/390 & Z/
Reported component ID
5740XYR00
Reported release
910
Status
CLOSED PER
PE
YesPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2012-01-20
Closed date
2012-02-13
Last modified date
2012-08-13
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UK76157
Modules/Macros
DSNLXMRF
Fix information
Fixed component name
DB2 OS/390 & Z/
Fixed component ID
5740XYR00
Applicable component levels
R910 PSY UK76157
UP12/02/29 P F202
Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEPEK","label":"Db2 for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.1","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
13 August 2012