A fix is available
APAR status
Closed as program error.
Error description
When a user processes changes to a sequence that include precision (for example, from Decimal(9) to Decimal(5), CM Batch and Compare overlook this change, and generate only an ALTER statement (for the other changes), not a DROP/CREATE of the sequence. When a package containing the sequence is executed, the result can be a SQLCODE = -846 / SQLCODEN846 error: DSNT408I SQLCODE = -846, ERROR: INVALID SPECIFICATION OF AN IDENTITY COLUMN OR SEQUENCE OBJECT SEQUENCE >sequence_name<. REASON CODE = 2 DSNT418I SQLSTATE = 42815 SQLSTATE RETURN CODE
Local fix
N/A
Problem summary
**************************************************************** * USERS AFFECTED: Users of the DB2 Administration Tool for * * z/OS and DB2 Object Comparison Tool for * * z/OS who change or compare sequence objects. * **************************************************************** * PROBLEM DESCRIPTION: CM Batch and Object Compare may * * overlook a change in precision in a * * sequence, resulting in SQLCODE=-846 / * * SQLCODEN846 when the package containing * * the sequence is executed. * **************************************************************** * RECOMMENDATION: * **************************************************************** When processing changes for a sequence with a built-in datatype, CM Batch and Object Compare may not detect a change in precision. As a result only a only an ALTER statement (for the other changes), and not a DROP/CREATE of the sequence, may be generated. When the package containing the sequence is executed, the result may be SQLCODE=-846 / SQLCODEN846: DSNT408I SQLCODE = -846, ERROR: INVALID SPECIFICATION OF AN IDENTITY COLUMN OR SEQUENCE OBJECT SEQUENCE schema.sequencename REASON CODE = 2 DSNT418I SQLSTATE = 42815 SQLSTATE RETURN CODE
Problem conclusion
Problem has been resolved.
Temporary fix
Comments
APAR Information
APAR number
PI99281
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
2018-06-18
Closed date
2018-09-20
Last modified date
2018-10-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
ADB2CMS
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":"12.1.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
02 October 2018