A fix is available
APAR status
Closed as program error.
Error description
The DB2 Administration Tool for z/OS' WSL jobs can end without any messages. If the ADBDIAG DD is present customers will see a SQLCODEN501: <ADDTBDBTSTOCHECK Fetch c_ChildTableSpaces -501 >ADBTEP2 stopRun retcode= 4
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Users of the DB2 Administration Tool and * * DB2 Object Comparison Tool for z/OS who use * * work statement lists (WSL), have physical * * relational integrity in their environment * * and who use auto-check. * **************************************************************** * PROBLEM DESCRIPTION: A problem would occur when doing the * * auto-check processing with ADBTEP2 * * when adding related objects to an * * internal table. This error would * * manifest itself as SQLCODEN501 / * * SQLCODE=-501: * * * * THE CURSOR IDENTIFIED IN * * A FETCH OR CLOSE STATEMENT IS * * NOT OPEN * * * * but this error would only appear in * * the ADBDIAG output if it was being * * produced, otherwise, the WSL would * * just end wit no adverse return code. * **************************************************************** * RECOMMENDATION: * **************************************************************** The program was changed to end with an adverse return code if any unexpected SQLCODE is produced by any SQL statement and make it obvious to the end user that there was a problem. Additionally, the program was corrected to preserve cursors that need to remain open even if a commit happens which will prevent the SQLCODEN501 / SQLCODE=-501 problem.
Problem conclusion
Problem has been resolved.
Temporary fix
Comments
APAR Information
APAR number
PM53081
Reported component name
DB2 ADMIN TOOL
Reported component ID
568851500
Reported release
A10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2011-11-29
Closed date
2011-12-22
Last modified date
2012-01-01
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
010PC2 UK75074
Modules/Macros
ADBTEP2
Fix information
Fixed component name
DB2 ADMIN TOOL
Fixed component ID
568851500
Applicable component levels
RA10 PSY UK75074
UP11/12/24 P F112
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.
[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSZJXP","label":"DB2 Tools for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"A10"}]
Document Information
Modified date:
31 March 2021