A fix is available
APAR status
Closed as program error.
Error description
ADMIN PARSER PROBLEM RESOLVING COLUMNS IN VIEWS
Local fix
NA
Problem summary
**************************************************************** * USERS AFFECTED: Users of DB2 Admin Tool. * **************************************************************** * PROBLEM DESCRIPTION: CREATE VIEW WBS100P.WBS85V12 ( NL) * * AS SELECT T1.NL * * FROM WPU100P.WPU85V03 T1 * * , WPU100P.WPU85V04 T2 * * WHERE T1.WERTPAPIER_KENN_NR * * = T2.WERTPAPIER_KENN_NR * * GROUP BY T1.NL * * UNION ALL * * SELECT DISTINCT T1.NL * * FROM WPU100P.WPU85V04 T1 * * , WPU100P.WPU85V03 T2 * * WHERE T1.WERTPAPIER_KENN_NR * * = T2.WERTPAPIER_KENN_NR * * GROUP BY T1.NL * * UNION ALL * * SELECT DISTINCT T1.NL * * FROM WPU100P.WPU85V04 T1 * * , WPU100P.WPU85V03 T2 * * WHERE T1.TN_SG_PERS_LFD_NR IS NULL * * AND T1.GP_NR = T2.GP_NR * * AND T1.SG_KENNZ = 57 * * AND T2.BED_WERT = 'BU'; * * When the parser executes it will * * resolve the T2.BED_WERT column to * * belong to object WPU100P.WPU85V04 * * which is incorrect as the where * * the clause for T2.BED_WERT is in * * the second SELECT where T2 is * * WPU100P.WPU85V03. * **************************************************************** * RECOMMENDATION: Apply The PTF. * **************************************************************** Columns resolved incorrectly to the tables in views with one or more unions. The wrong result is visible when using the Rename function in Object compare or using the Gen line command with the run sqlid option or masking.
Problem conclusion
Fixed in Admin V7.1 and V7.2
Temporary fix
Comments
APAR Information
APAR number
PK40962
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
2007-03-12
Closed date
2007-09-14
Last modified date
2007-11-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
ADB2PA
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":"720","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
02 November 2007