A fix is available
APAR status
Closed as program error.
Error description
Message "DSNT408I SQLCODE = -904, ERROR: UNSUCCESSFUL EXECUTION CAUSED BY AN UNAVAILABLE RESOURCE" is received with REASON = 00000000. The reason should be 00C90081 because the object is STOPPED.
Local fix
N/A
Problem summary
**************************************************************** * USERS AFFECTED: * * All Db2 12 for z/OS and Db2 13 for z/OS * * users. * **************************************************************** * PROBLEM DESCRIPTION: * * SQLCODE -904 issued with an incorrect * * zero reason code. * **************************************************************** * RECOMMENDATION: * * Apply corrective PTF when available * **************************************************************** When a thread was getting a claim, the claim attempt needed to be retried because the object was in the STOP state. Eventually, the claim was successful after the object was no longer in the STOP state. Although the claim was successful, an error reason code for the STOP state error was not reset before the retry. This caused the SQLCODE904 to be returned with a zero reason code for the RESOURCE NOT AVAILABLE error.
Problem conclusion
To fix the inadvertent SQLCODE904, the claim logic in Db2 was fixed to reset the error reason code before retrying the claim.
Temporary fix
Comments
APAR Information
APAR number
PH45636
Reported component name
DB2 OS/390 & Z/
Reported component ID
5740XYR00
Reported release
C10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2022-04-12
Closed date
2022-07-11
Last modified date
2022-08-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI81401 UI81402
Modules/Macros
DSNB1LCM DSNB1CLM DSNB1POC
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"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"12.0","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
02 August 2022