A fix is available
APAR status
Closed as program error.
Error description
In DB2 Object Comparison Tool for z/OS, when doing a comparison with LONG VARCHAR (DB2 v8 and lower) and VARCHAR(32310) (DB2 v9) the tool finds a difference. When source DDL columns total is greater than 32759, message: IBM0342S ONCODE=340 The SIZE condition was raised. From entry point PROCESS_LVC at statement 10867 at compile unit offset at address 34813DB4. Additional Symptoms: msgoncode340 rc=12 oncode340 rc12 r910 oncode340
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Users of DB2 Object Comparison * * Tool for z/OS who compare source * * tables with LONG VARCHAR or * * LONG VARGRAPHIC columns. * **************************************************************** * PROBLEM DESCRIPTION: An IBM0342S ONCODE=340 The * * SIZE condition was raised error * * can occur in module GOC2CMT. * * LONG VARCHAR and LONG * * VARGRAPHIC columns are * * converted to VARCHAR or VARG * * when created in the DB2 catalog. * * When the original DDL is compared * * to the new table, the DB2 Object * * Comparison Tool reports the columns * * as changed from VARCHAR to LONG * * VARCHAR. This change is * * implemented by a DROP/CREATE. * **************************************************************** * RECOMMENDATION: Apply The PTF. * **************************************************************** All changes to a target table that is compared to a source table with LONG VARCHAR or LONG VARGRAPHIC columns are implemented with a DROP/CREATE.
Problem conclusion
The ONCODE has been corrected. The comparison between LONG VARCHAR and VARCHAR column types is now considered a match. The same with LONG VARGRAPHIC and VARG. If a set of changes can be accomplished with an ALTER, an ALTER will be used. If a change results in a DROP/CREATE, such as the addition of a column or the increase of the size of a column, a DROP/CREATE will still occur.
Temporary fix
Comments
APAR Information
APAR number
PM15566
Reported component name
DB2 OBJECT COMP
Reported component ID
5697G6400
Reported release
720
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2010-05-28
Closed date
2010-08-26
Last modified date
2010-09-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
GOC2CMT
Fix information
Fixed component name
DB2 OBJECT COMP
Fixed component ID
5697G6400
Applicable component levels
R720 PSY UK60023
UP10/08/31 P F008
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 September 2010