A fix is available
APAR status
Closed as program error.
Error description
TRUNCATE TABLE SQL statement is generated as part of LOAD plans. It is invalid for parent tables, and recovery plan execution fails: TRUNCATE TABLE "Creator"."Table"; . DSNT408I SQLCODE = -20356, ERROR: THE TABLE WITH DBID=644 AND OBID=5 CANNOT BE TRUNCATED BECAUSE DELETE TRIGGERS EXIST FOR THE TABLE, OR THE TABLE IS THE PARENT TABLE IN A REFERENTIAL CONSTRAINT.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Users of DB2 Recovery Expert. * **************************************************************** * PROBLEM DESCRIPTION: TRUNCATE TABLE SQL statement is * * generated as part of LOAD plans. * * It is invalid for parent tables, and * * recovery plan execution fails: * * TRUNCATE TABLE "Creator"."Table"; * * DSNT408I SQLCODE = -20356, ERROR: THE * * TABLE WITH DBID=644 AND OBID=5 CANNOT * * BE TRUNCATED BECAUSE DELETE TRIGGERS * * EXIST FOR THE TABLE, OR THE TABLE IS * * THE PARENT TABLE IN A REFERENTIAL * * CONSTRAINT. * **************************************************************** * RECOMMENDATION: APPLY the PTF. * **************************************************************** Code has been changed to correct this condition.
Problem conclusion
APPLY the PTF.
Temporary fix
Comments
APAR Information
APAR number
PI38488
Reported component name
DB2 REC EXPERT
Reported component ID
5697H7400
Reported release
310
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2015-04-06
Closed date
2015-08-14
Last modified date
2015-09-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
ARYJ08
Fix information
Fixed component name
DB2 REC EXPERT
Fixed component ID
5697H7400
Applicable component levels
R310 PSY UI30235
UP15/08/21 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":"SSCVQTW","label":"Db2 Recovery Expert"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"3.1.0","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
02 September 2015