A fix is available
APAR status
Closed as program error.
Error description
A GEN on a view using PARMS('/MASK') with an empty MASK file, may produce fully qualified column names (schema.tablename.columname) in the SELECT clause, instead of just the column name. For example, a GEN of a view created from the Db2 sample DEPT table may show the following: CREATE VIEW DSN81210.VDEPT AS SELECT ALL DSN81210.DEPT.DEPTNO, DSN81210.DEPT.DEPTNAME, DSN81210.DEPT.MGRNO, DSN81210.DEPT.ADMRDEPT FROM DSN81210.DEPT ; With the fix applied, the GEN output will be as follows: CREATE VIEW DSN81210.VDEPT AS SELECT ALL DEPTNO, DEPTNAME, MGRNO, ADMRDEPT FROM DSN81210.DEPT ;
Local fix
N/A
Problem summary
**************************************************************** * USERS AFFECTED: Users of the Reverse Engineering (GEN) * * function of the DB2 Administration Tool for * * z/OS. * **************************************************************** * PROBLEM DESCRIPTION: Generating DDL for Views with an empty * * mask generates fully qualified column * * names, even though the view was not * * created that way. * **************************************************************** Running GEN of a view and specifying an empty mask may result in the views column names being fully qualified, even though the view was not created that way. For example, a GEN of a view created from the Db2 sample DEPT table may show the following: CREATE VIEW DSN81210.VDEPT AS SELECT ALL DSN81210.DEPT.DEPTNO, DSN81210.DEPT.DEPTNAME, DSN81210.DEPT.MGRNO, DSN81210.DEPT.ADMRDEPT FROM DSN81210.DEPT ; With the fix applied, the GEN output will be as follows: CREATE VIEW DSN81210.VDEPT AS SELECT ALL DEPTNO, DEPTNAME, MGRNO, ADMRDEPT FROM DSN81210.DEPT ; Note: If the View was initially created by explicitly specifying fully qualified column names, the generated DDL will retain the fully qualified column names.
Problem conclusion
The issue has been resolved.
Temporary fix
Comments
APAR Information
APAR number
PH17126
Reported component name
DB2 ADMIN TOOL
Reported component ID
568851500
Reported release
C10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2019-09-19
Closed date
2019-10-25
Last modified date
2019-11-01
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI66080
Modules/Macros
ADB2RE ADB2REE ADB2REZ
Fix information
Fixed component name
DB2 ADMIN TOOL
Fixed component ID
568851500
Applicable component levels
RC10 PSY UI66080
UP19/10/30 P F910
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":"12.1.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
01 November 2019