A fix is available
APAR status
Closed as program error.
Error description
FREE PACKAGE with PLANMGMTSCOPE(INACTIVE) and INVALIDONLY(YES) incorrectly frees SPTR records and dependency records for all copies
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: All Db2 13 for z/OS users of FREE PACKAGE * * with PLANMGMTSCOPE(INACTIVE) and * * INVALIDONLY(YES) * **************************************************************** * PROBLEM DESCRIPTION: With PTF UI99140 (APAR PH63089) * * applied, FREE PACKAGE with * * PLANMGMTSCOPE(INACTIVE) and * * INVALIDONLY(YES) incorrectly frees * * all SPTR and SYSPACKDEP records for * * a package when the following two * * conditions are met: * * 1. The package does not have any * * invalid PREVIOUS/ORIGINAL copies. * * 2. The package has eligible phased-out * * copies to be freed. * * After this error, the package has * * SYSPACKAGE and SYSPACKCOPY records but * * no matching SPTR and SYSPACKDEP * * records. Application executing * * this package can get SQLCODE -805 or * * SQLCODE -812. * **************************************************************** * RECOMMENDATION: Apply corrective PTF when available * **************************************************************** The FREE PACKAGE process should end after deleting the eligible phased-out copies. However, it inadvertently continues to delete all the SPTR and SYSPACKDEP records of the input package due to checking the wrong condition.
Problem conclusion
Db2 code has been changed to end the FREE PACKAGE process properly after deleting the eligible phased-out copies when there is no invalid PREVIOUS/ORIGINAL copies for the input package. Additional keywords: SQLCODE812 SQLCODE805
Temporary fix
Comments
×**** PE25/11/08 FIX IN ERROR. SEE APAR PH68881 FOR DESCRIPTION
APAR Information
APAR number
PH67463
Reported component name
DB2 OS/390 & Z/
Reported component ID
5740XYR00
Reported release
D10
Status
CLOSED PER
PE
YesPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2025-07-23
Closed date
2025-08-15
Last modified date
2025-12-23
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UO04475
Modules/Macros
DSNTBFR2
Fix information
Fixed component name
DB2 OS/390 & Z/
Fixed component ID
5740XYR00
Applicable component levels
RD10 PSY UO04475
UP25/08/23 P F508 Ø
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:
23 December 2025