A fix is available
APAR status
Closed as program error.
Error description
The DB2 Administration Tool for z/OS GEN function issues a message: Missing semicolon after triggered action ADB2PA: The following statement could not be parsed : CREATE TRIGGER <schema>.<trigger> NO CASCADE BEFORE INSERT ON <schema>.<table> REFERENCING NEW AS N FOR EACH ROW MODE DB2SQL BEGIN ATOMIC VALUES SUBSTR(CHAR(CURRENT TIMESTAMP),25,2) INTO N.COLUMN ; END Token number = nn, Token = INTO then: ADB1848W Unformatted DDL will be generated for the following trigger because it could not be parsed. Please verify the DDL. Reason code = 28 <schema>.<trigger> If the customer specified a new schema i.e. the input parms contain the 'NEWSQLID =' parm the messages changes to: ADB1847E A parser error occurred for the following trigger. GEN cannot completethe request. Reason code = 8 <schema>.<trigger>
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Users of the DB2 Administration Tool for * * z/OS who use the GEN or DDL line * * commands to generate DDL for Triggers. * **************************************************************** * PROBLEM DESCRIPTION: The DB2 Administration Tool for z/OS * * issues the following message when * * generating DDL for a Trigger: * * * * Missing semicolon after triggered * * action * * * * ADB2PA: The following statement * * could not be parsed : * * * * CREATE TRIGGER >schema<.>trigger< * * NO CASCADE BEFORE INSERT * * ON >schema<.>table>< * * REFERENCING NEW AS N * * FOR EACH ROW MODE DB2SQL * * BEGIN ATOMIC VALUES SUBSTR * * (CHAR(CURRENT TIMESTAMP),25,2) INTO * * N.COLUMN ; * * END * * * * Token number = nn, Token = INTO * * then: * * ADB1848W Unformatted DDL will be * * generated for the following * * trigger because it could not be * * parsed. Please verify the DDL. * * Reason code = 28 * * >schema<.>trigger< * * * * If the customer specified a new schema * * i.e. the input parms contain the * * 'NEWSQLID =' parm, the messages * * changes to: * * * * ADB1847E A parser error occurred for * * the following trigger. * * GEN cannot complete the request. * * Reason code = 8 * * >schema<.>trigger< * **************************************************************** * RECOMMENDATION: * **************************************************************** The DB2 Administration Tool for z/OS considers the VALUES INTO clause invalid in the trigger body.
Problem conclusion
Problem has been resolved.
Temporary fix
Comments
APAR Information
APAR number
PM49130
Reported component name
DB2 ADMIN TOOL
Reported component ID
568851500
Reported release
720
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2011-09-30
Closed date
2012-02-13
Last modified date
2012-03-01
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UK76126 UK76125
Modules/Macros
ADB2PA
Fix information
Fixed component name
DB2 ADMIN TOOL
Fixed component ID
568851500
Applicable component levels
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":"720","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
01 March 2012