A fix is available
APAR status
Closed as program error.
Error description
Some of the DSNTESQ queries - QUERY58 , QUERY60 , QUERY73 and QUERY75 - return rows for dependencies on SYSIBM.SYSPACKDEP or SYSPACKSTMTDEP for packages whose tablespace has been already dropped when there are phased-out copies. Having such rows is not a problem, but DSNTESQ needs to be updated to filter out such rows.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: All Db2 13 for z/OS users of * * statement-level dependency. * **************************************************************** * PROBLEM DESCRIPTION: The sample queries provided in the * * DSNTESQ job returned unexpected rows. * **************************************************************** * RECOMMENDATION: Apply corrective PTF when available * **************************************************************** The following sample queries in DSNTESQ checking for catalog inconsistencies did not take statement-level dependency into account: * Query 57, 58, 59, 60, 67, 68, 69, 70, and 71 for SYSPACKDEP * Query 72, 73, 74, 75, 76, 77, 78, 79, and 80 for SYSPACKSTMTDEP This resulted in erroneous rows being returned after objects were dropped.
Problem conclusion
The affected sample queries have been updated to check for statement-level dependencies properly. Additional Keyword: INCORROUT DB2INCORR/K SQLDROP
Temporary fix
Comments
APAR Information
APAR number
PH64540
Reported component name
DB2 OS/390 & Z/
Reported component ID
5740XYR00
Reported release
D10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2024-12-12
Closed date
2025-07-15
Last modified date
2025-08-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UO03661
Modules/Macros
DSNTESQ
Fix information
Fixed component name
DB2 OS/390 & Z/
Fixed component ID
5740XYR00
Applicable component levels
RD10 PSY UO03661
UP25/07/23 P F507
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":"BU048","label":"IBM Software"},"Product":{"code":"SSEPEK","label":"DB2 for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"D10","Line of Business":{"code":"LOB76","label":"Data Platform"}}]
Document Information
Modified date:
02 August 2025