A fix is available
APAR status
Closed as program error.
Error description
CM Batch or Object Compare generates an incorrect column qualification when generating view DDL in worklist, resulting in following error when worklist is run sqlerror on CREATE command, PREPARE function DSNT408I SQLCODE = -204, ERROR: >schemaname<.>columname< IS AN UNDEFINED NAME
Local fix
n/a
Problem summary
**************************************************************** * USERS AFFECTED: Users of the DB2 Administration Tool * * for z/OS and DB2 Object Comparison * * Tool for z/OS who use Object Compare * * to compare a view DDL with catalog * * objects. * **************************************************************** * PROBLEM DESCRIPTION: When Object Compare option 'RUN * * SQLID' is specified when comparing * * a view, the SQLID is appended as * * the schema of a table name in a * * FROM clause. When the DDL is * * executed, the result may be error * * SQLCODE=-204 / SQLCODEN204. * **************************************************************** * RECOMMENDATION: * **************************************************************** When comparing a simplified view such as the following, with option 'RUN SQLID' specified: ( CREATE VIEW viewname AS WITH MOVEMENT AS(SELECT .. FROM .. WHERE..) ), "RESULT" AS(SELECT .. FROM .. WHERE.. ..) SELECT .. FROM "RESULT"; The generated DDL shows the specified sqlid appended as the schema of the table RESULT in the FROM clause, yielding "sqlid"."RESULT", instead of just "RESULT". As no such table exists, executing the generated DDL may result in: DSNT408I SQLCODE = -204, ERROR: sqlid.RESULT IS AN UNDEFINED NAME DSNT418I SQLSTATE = 42704 SQLSTATE RETURN CODE
Problem conclusion
Problem has been resolved.
Temporary fix
Comments
APAR Information
APAR number
PI92995
Reported component name
DB2 ADMIN TOOL
Reported component ID
568851500
Reported release
B20
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2018-01-26
Closed date
2018-04-06
Last modified date
2018-05-01
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI55049 UI55050
Modules/Macros
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.
[{"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":"11.2.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
01 May 2018