A fix is available
APAR status
Closed as program error.
Error description
ABEND0C4 RC00000038 at DSNXGRDS.DSNXERT OFFSETB28A can occur when an Update statement is executed with the WHERE CURRENT OF option specified and was preceded by SET CURRENT PACKAGESET. Additional Keywords: ABEND0C4 RC00000038
Local fix
N/A
Problem summary
**************************************************************** * USERS AFFECTED: Db2 11 and 12 for z/OS users of * * SET host variable to special register * * CURRENT PACKAGESET statement following * * a positioned UPDATE/DELETE after applying * * PI88146 * **************************************************************** * PROBLEM DESCRIPTION: ABEND0C4 RC00000038 at DSNXERT+B28A or * * ABEND0C4 RC00000004 at DSNXERT+AFC8 * * with PI88146 was previously applied * **************************************************************** * RECOMMENDATION: * **************************************************************** After PI88146 is applied, during the processing of a SET host variable to special register CURRENT PACKAGESET statement following a positioned UPDATE/DELETE, Db2 referenced an unavailable internal block for such SET host variable statement. That resulted in the reported abend. The following scenario illustrates an example of failing case. 1. Declare a cursor EXEC SQL DECLARE CUR1 CURSOR WITH HOLD FOR SELECT C1 FROM T1 WHERE C1 <> 'STHE' FOR UPDATE OF C1 2. Update table T1 EXEC SQL UPDATE T1 SET C1 = 'EFGH' WHERE CURRENT OF CUR1 3. Set host variable to CURRENT PACKAGESET special register EXEC SQL SET :HV1 = CURRENT PACKAGESET The abend can occur during the processing of the SET statement. Additional SET statements that can cause the problem: SET CURRENT PACKAGESET = SET CURRENT PACKAGEPATH = SET :HV1 = CURRENT PACKAGEPATH
Problem conclusion
Db2 is modified to properly process such SET host variable statement following a positioned UPDATE/DELETE statement. Additional keywords: ABEND0C4 RC00000004 RC00000038 SQLSPECIALREG SQLDELETE SQLSETFUNCTION SQLUPDATE
Temporary fix
Comments
APAR Information
APAR number
PI95363
Reported component name
DB2 OS/390 & Z/
Reported component ID
5740XYR00
Reported release
B10
Status
CLOSED PER
PE
YesPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2018-03-19
Closed date
2018-04-25
Last modified date
2018-06-04
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI55454 UI55461
Modules/Macros
DSNXERT
Fix information
Fixed component name
DB2 OS/390 & Z/
Fixed component ID
5740XYR00
Applicable component levels
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":"11.0","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":"11.0","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
04 June 2018