A fix is available
APAR status
Closed as program error.
Error description
In DB2 Administration Tool for z/OS, when DDL / GEN function is issued on a View containing a DB2 word as table correlation name, parser message is issued: SQL stmt not completely parsed Error occurred when parsing the following stmt : CREATE VIEW viewowner.viewname AS SELECT columns..... FROM tbowner.tbname SET Token number = 152, Token = SET
Local fix
Put quotes around the DB2 reserved word being used a correlation name
Problem summary
**************************************************************** * USERS AFFECTED: Users of the DB2 Administration Tool * * for z/OS that use one of the following: * * * * 1)A DB2 reserved word as a correlation * * name without delimiters when defining * * DB2 objects. * * * * 2)An ALTER TABLE statement to add a * * referential or unique constraint, and * * specify a constraint name without * * preceding it with the ADD keyword. * **************************************************************** * PROBLEM DESCRIPTION: A DB2 Administration Tool for z/OS * * parser error occurred. The error * * itself is random because it * * depends on the syntax that follows * * the correlation name that is a DB2 * * reserved word without delimiters. * * * * A parser error occurs on the * * CONSTRAINT keyword when it is * * not preceded by the ADD keyword. * * * * e.g. ALTER TABLE table-name * * CONSTRAINT constraint-name * * ....; * * * * The DB2 SQL reference states the * * ADD keyword is optional in some * * cases, but the DB2 Administration * * Tool's parser required the ADD * * keyword. * **************************************************************** * RECOMMENDATION: Apply The PTF. * **************************************************************** A DB2 Administration Tool for z/OS parser error occurred. The error itself is random because it depends on the syntax that follows the correlation name that is a DB2 reserved word without delimiters. A parser error occurs on the CONSTRAINT keyword when it is not preceded by the ADD keyword. e.g. ALTER TABLE table-name CONSTRAINT constraint-name ....;
Problem conclusion
The problems have been resolved.
Temporary fix
Comments
APAR Information
APAR number
PM26390
Reported component name
DB2 ADMIN TOOL
Reported component ID
568851500
Reported release
720
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2010-11-09
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:
Modules/Macros
ADB2PA ADB2PA7
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.
[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSZJXP","label":"DB2 Tools for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"720"}]
Document Information
Modified date:
30 March 2021