A fix is available
APAR status
Closed as program error.
Error description
The DB2 Administration Tool GEN function generated DDL for a TRIGGER statement incorrectly qualifying the SELECT statement columns with the INSERT table name rather than the FROM table name. Following SQL codes also observed. SQLCODEN20100, SQLCODEN206 and SQLCODEN225
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Users of DB2 Admin Tool. * **************************************************************** * PROBLEM DESCRIPTION: If a trigger had imbedded SELECT * * against a transition table (e.g. in * * an INSERT statement) and Run SQLID was * * used, GEN would qualify the transition * * table columns wrongly. Instead of the * * transition table correlation name, the * * triggered table name was used. * * * **************************************************************** * RECOMMENDATION: Apply The PTF. * **************************************************************** If a trigger had imbedded SELECT against a transition table (e.g. in an INSERT statement) and Run SQLID was used, GEN would qualify the transition table columns wrongly. Instead of the transition table correlation name, the triggered table name was used.
Problem conclusion
Qualification has been changed to use the transition table correlation name.
Temporary fix
Comments
APAR Information
APAR number
PK49528
Reported component name
DB2 ADMIN TOOL
Reported component ID
568851500
Reported release
710
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2007-07-23
Closed date
2008-11-13
Last modified date
2008-12-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UK41563
Modules/Macros
ADB2PA
Fix information
Fixed component name
DB2 ADMIN TOOL
Fixed component ID
568851500
Applicable component levels
R720 PSY UK41563
UP08/11/21 P F811
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":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSCVQTD","label":"IBM Db2 Administration Tool for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.1.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
02 December 2008