A fix is available
APAR status
Closed as program error.
Error description
In DB2 Object Comparison Tool for z/OS, comparison of constraint can result in missing ) <right parenthesis> in file *.DDL.CREATE. . When APPLY job is performed, rc=8 on step CREATE. Message: ADB5044I *** INPUT STATEMENT: ALTER TABLE xxx.xxxxxxxx ADD CONSTRAINT xxxxxxxxxxxxxxxxx CHECK (xxx (xxxx ) <missing right parenthesis>; DSNT408I SQLCODE = -104, ERROR: ILLEGAL SYMBOL "<END-OF-STATEMENT>". SOME SYMBOLS THAT MIGHT BE LEGAL ARE: OR ) AND . Additional Symptoms: rc8 sqlcoden104
Local fix
Append missing ) <right parenthesis> on file *.DDL.CREATE
Problem summary
**************************************************************** * USERS AFFECTED: Users of the DB2 Object Comparison * * Tool for z/OS who change the check * * constraints on tables. * **************************************************************** * PROBLEM DESCRIPTION: The DB2 Object Comparison * * Tool for z/OS creates an ALTER * * TABLE ADD CONSTRAINT CHECK * * (constraint) syntax with a missing * * closing right parenthesis. * **************************************************************** * RECOMMENDATION: Apply The PTF. * **************************************************************** The DB2 Object Comparison Tool for z/OS adds the closing right parenthesis without checking the remaining space at the end of the constraint body. If the constraint body fills the complete record, the closing parenthesis is lost.
Problem conclusion
The problem has been resolved.
Temporary fix
Comments
APAR Information
APAR number
PM22057
Reported component name
DB2 OBJECT COMP
Reported component ID
5697G6400
Reported release
720
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2010-09-07
Closed date
2010-11-17
Last modified date
2011-02-06
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
GOC2CMT
Fix information
Fixed component name
DB2 OBJECT COMP
Fixed component ID
5697G6400
Applicable component levels
R720 PSY UK62281
UP10/11/23 P F011
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":"SSAUVH","label":"IBM Db2 Object Comparison 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:
12 February 2021