A fix is available
APAR status
Closed as program error.
Error description
DB2 Object Compare Tool can generate inconsistent results for SET CURRENT SCHEMA statement preceeding CREATE VIEW statement. . Results are different when comparing an 'old' DB2 object vs. compare jobs which use DDL files, or 'new' DB2 object definitions. 'Old' DB2 object meaning one defined prior to DB2 v9, whereas 'new' DB2 object refers to one that is defined in a DB2 v9 environment. . For example, note SCHEMA differences in CHG file, when both OC reports contain: . View OA1A12.VPC412A1A not found on target New View OA1A12.VPC412A1A will be added . but the CHG file from the VER file compare of 'old' objects shows: . CREATE SET CURRENT PATH = "SYSIBM","SYSFUN","SYSPROC","OA1A12" ; CREATE SET CURRENT SCHEMA = 'GDB0520' ; CREATE CREATE VIEW VPC412A1A(SAFEKEEPING_ACC_NO, SEQUENCENO,... . but the CHG file from DDL file compare or 'new' DB2 V9 objects shows: . CREATE SET CURRENT PATH = "SYSIBM","SYSFUN","SYSPROC","OA1A12" ; CREATE SET CURRENT SCHEMA = 'OA1A12' ; CREATE CREATE VIEW VPC412A1A(SAFEKEEPING_ACC_NO, SEQUENCENO,...
Local fix
Use DDL or DROP/CREATE objects in DB2 v9
Problem summary
**************************************************************** * USERS AFFECTED: Users of DB2 Object Comparison * * Tool for z/OS who use the * * CREATE VIEW statement. * **************************************************************** * PROBLEM DESCRIPTION: An invalid SET CURRENT * * SCHEMA statement was specified * * when using the CREATE VIEW * * statement. * **************************************************************** * RECOMMENDATION: Apply The PTF. * **************************************************************** The CREATE VIEW statement failed.
Problem conclusion
The Object Comparison Tool was changed to correct this problem.
Temporary fix
Comments
APAR Information
APAR number
PM03166
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
2009-12-09
Closed date
2010-05-26
Last modified date
2010-07-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
GOC2CMR
Fix information
Fixed component name
DB2 OBJECT COMP
Fixed component ID
5697G6400
Applicable component levels
R720 PSY UK57310
UP10/06/03 P F006
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:
02 July 2010