A fix is available
APAR status
Closed as program error.
Error description
and: SQL error in PREPARE for statement: CREATE PERM = 0 DSNT408I SQLCODE = -104, ERROR: ILLEGAL SYMBOL "=". SOME SYMBOLS THAT MIGHT BE LEGAL ARE: TABLESPACE DSNT418I SQLSTATE = 42601 SQLSTATE RETURN CODE
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Users of the DB2 Administration Tool * * and the DB2 Object Comparison Tool * * for z/OS who generate WSL for the * * COMMENT ON TABLE statement, * * which has an embedded semicolon. * **************************************************************** * PROBLEM DESCRIPTION: When the COMMENT ON TABLE * * statement has an embedded * * semicolon, the generated WSL * * may have a syntax error which * * causes the validate WSL * * to fail with SQLCODEN10 and * * SQLCODEN104. * **************************************************************** * RECOMMENDATION: Apply The PTF. * **************************************************************** Validate WSL SQLCODEN10 and SQLCODEN104 errors are observed due to an embedded semicolon in the COMMENT ON TABLE syntax.
Problem conclusion
The part has been modified to parse the statement correctly and generate the correct statement in WSL. See APAR PM26512 for the DB2 Object Comparison Tool for z/OS Version 10 solution.
Temporary fix
Comments
APAR Information
APAR number
PM19699
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
2010-08-02
Closed date
2010-12-29
Last modified date
2011-03-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UK63548
Modules/Macros
GOCGAJOB
Fix information
Fixed component name
DB2 OBJECT COMP
Fixed component ID
5697G6400
Applicable component levels
R720 PSY UK63548
UP11/02/05 P F102
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