A fix is available
APAR status
Closed as program error.
Error description
When GEN extracts object information from catalog for Compare processing, it fails with SQLCODE -305 if there is a package dependency with COPYID NULL.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Users of Db2 Administration Tool for z/OS * * and Db2 Object Comparison Tool for z/OS * **************************************************************** * PROBLEM DESCRIPTION: A Change Analyze job fails with SQLCODE * * -305 and message 'ADB2REP: Unexpected * * sqlcode in : Fetch-0 c_pkdep1'. * **************************************************************** When GEN extracts object information from the catalog for Compare processing, the job fails with SQLCODE -305 if there is a package dependency with a NULL value in the COPYID column.
Problem conclusion
The problem has been resolved.
Temporary fix
Comments
APAR Information
APAR number
PH66597
Reported component name
DB2 ADMIN TOOL
Reported component ID
568851500
Reported release
D10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2025-05-19
Closed date
2025-06-23
Last modified date
2025-07-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UO03779
Modules/Macros
ADB2REP
Fix information
Fixed component name
DB2 ADMIN TOOL
Fixed component ID
568851500
Applicable component levels
RD10 PSY UO03779
UP25/06/25 P F506
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":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSZJXP","label":"DB2 Tools for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"D10","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
02 July 2025