A fix is available
APAR status
Closed as program error.
Error description
ABEND04E RC00E20005 DSNXESP9 DSNSVBK +1AB6 when executing a native SQL procedure Other symptoms: ABEND0C4 RSN00000004,M=C9,C=101.SMC -DSNSRSTK,M=DSNTFRCV,LOC=DSNSLD1 .DSNSTACK+0462 ABEND0C4 RSN00000011,M=C9,C=101.LOCN=::10.16.3.135, LOCN=::10.16.3.135
Local fix
Alter Regenerate the native sql procedure . Rebind will not get around the problem.
Problem summary
**************************************************************** * USERS AFFECTED: All users of Native SQL procedures bound in * * DB2 9 and executed in DB2 10. * **************************************************************** * PROBLEM DESCRIPTION: Overlay may occur if allocated storage * * is exceeded when converting SQL * * statement to be prepared to UTF-8. * * The following abend may occur: * * ABEND04E RC00E20005 LOC= DSNXESP9 * * LOC= DSNXESP9 DSNSVBK +1AB6. * **************************************************************** * RECOMMENDATION: * **************************************************************** During a PREPARE within a native SQL procedure, the SQL text was converted to UTF-8 from its original EBCDIC format. The expansion of characters, due to an in-place conversion, exceeded the storage allocated. This can introduce a storage overlay if the allocated storage is exceeded. Performing an ALTER REGENERATE of the DB2 9 native SQL procedure on the DB2 10 system can mitigate this problem.
Problem conclusion
DB2 was changed to allocate three times the usual storage amount to accomodate the possible expansion of SQL text characters from in-place EBCDIC conversion to UTF-8. Additional keywords: SQLNATIVESQLPL SQLSP SQLSTOREDPROC SMCOVERLAY DB2OVRLAY/K
Temporary fix
********* * HIPER * ********* APARFIX AM71949 HAS BEEN PROVIDED TO FIX THE ISSUE. IN ADDITION, WITHOUT THE APARFIX, PERFORMING ALTER REGENERATE OF THE DB2 9 NATIVE SQL PROCEDURE ON THE DB2 10 SYSTEM CAN MITIGATE THE PROBLEM.
Comments
APAR Information
APAR number
PM71949
Reported component name
DB2 OS/390 & Z/
Reported component ID
5740XYR00
Reported release
A10
Status
CLOSED PER
PE
NoPE
HIPER
YesHIPER
Special Attention
NoSpecatt
Submitted date
2012-08-30
Closed date
2012-10-29
Last modified date
2012-12-04
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UK83093
Modules/Macros
DSNXESP9
Fix information
Fixed component name
DB2 OS/390 & Z/
Fixed component ID
5740XYR00
Applicable component levels
RA10 PSY UK83093
UP12/11/27 P F211
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":"10.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":"10.1","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
04 December 2012