APAR status
Closed as program error.
Error description
The DB2 Administration Tool for z/OS Change Management APPLY job fails with a return code 8 in the UNLOAD utility with a message: DSNU1212I -ssid DSNUUUFA - INVALID FIELD NAME <colname> FOR TABLE <table-name> when the change used the RENAMECOL MASK to rename an existing column and add a new column with the same name as the original renamed column.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Users of the DB2 Object Comparison Tool for * * z/OS. * **************************************************************** * PROBLEM DESCRIPTION: When a new NOT NULL WITH NO * * DEFAULT column is added to a table * * with the same name as a column that * * has been renamed will fail in the DB2 * * UNLOAD with MSGDSNU1212I error: * * * * DSNU1212I DSNUUUFA- INVALID FIELD * * NAME <COLNAME> FOR TABLE <...>. * * * * For example, if I have a column C_ONE * * and I rename C_ONE to C_ONERENAMED and * * add another column C_TWO that is NOT * * NULL WITH NO DEFAULT, the UNLOAD fails * * with the described error. * **************************************************************** * RECOMMENDATION: * **************************************************************** The problem is caused by reusing a column name that is already used. The change involves using a derived column name instead of the actual name specified by the user. This is only for the duration and success of the UNLOAD (i.e. the result column is correctly named). Additionally, the derived column name is checked against the pending changes to avoid another duplicate column name from being used.
Problem conclusion
Problem has been resolved.
Temporary fix
Comments
APAR Information
APAR number
PM45348
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
2011-08-09
Closed date
2011-08-31
Last modified date
2011-10-03
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
GOCGAJOB
Fix information
Fixed component name
DB2 OBJECT COMP
Fixed component ID
5697G6400
Applicable component levels
R720 PSY UK71429
UP11/09/02 P F109
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:
12 February 2021