A fix is available
APAR status
Closed as program error.
Error description
The DB2 Object Comparison Tool for z/OS APPLY jobs fails with a return code / RC=8 and a message: DROP SPECIFIC FUNCTION <schema>.<functionname> ; error on DROP command, EXECUTE function DNT408I SQLCODE = -478, ERROR: DROP OR REVOKE ON OBJECT TYPE FUNCTION CANNOT BE PROCESSED BECAUSE OBJECT <schema>.<trigger> OF TYPE TRIGGER IS DEPENDENT ON IT DSNT418I SQLSTATE = 42893 SQLSTATE RETURN CODE DSNT415I SQLERRP = DSNXIDRT SQL PROCEDURE DETECTING ERROR DSNT416I SQLERRD = 30 0 0 -1 0 0 SQL DIAGNOSTIC
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Users of the DB2 Object Comparison Tool * * for z/OS who change DB2 functions and * * procedures on which Triggers depend. * **************************************************************** * PROBLEM DESCRIPTION: A DROP of a function or procedure may * * fail with SQLCODEN478 / SQLCODE=-478: * * * * DSNT408I SQLCODE = -478, ERROR: * * DROP OR REVOKE ON OBJECT TYPE * * FUNCTION CANNOT BE PROCESSED * * BECAUSE OBJECT >schema<.>trigger< * * OF TYPE TRIGGER IS DEPENDEN ON IT * * DSNT418I SQLSTATE = 42893 SQLSTATE * * RETURN CODE * * DSNT415I SQLERRP = DSNXIDRT SQL * * PROCEDURE DETECTING ERROR * * * * if a trigger depends upon the function * * or procedure. The DB2 Object * * Comparison Tool did not recognize the * * dependency and was attempting to drop * * the independent object before the * * dependency was removed. * **************************************************************** * RECOMMENDATION: * **************************************************************** When a trigger depends upon a function or procedure that is to be dropped, the trigger will be dropped first. The function or procedure will be dropped after the trigger. The function or procedure will be recreated, and then the trigger will be recreated.
Problem conclusion
The DB2 Object Comparison Tool has been corrected. The user must ensure that all triggers that depend on functions or procedures that may be dropped and recreated are included in the DB2 Object Compare run. As an aid to this requirement, triggers have been added to the group of schema objects.
Temporary fix
Comments
×**** PE12/06/26 PTF IN ERROR. SEE APAR PM67611 FOR DESCRIPTION
APAR Information
APAR number
PM39767
Reported component name
DB2 OBJECT COMP
Reported component ID
5697G6400
Reported release
A10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2011-05-20
Closed date
2012-02-16
Last modified date
2012-07-27
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
ADBCCMM ADBCVOC ADBH1H ADB2CMF ADB2CMP ADB2CMR ADB2CMS ADB2GEN6 ADB2MSK ADB2REE ADB2REP ADB2RER ADB2REU
Fix information
Fixed component name
DB2 ADMIN TOOL
Fixed component ID
568851500
Applicable component levels
RA10 PSY UK76288
UP12/02/18 P F202
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:
17 March 2021