A fix is available
APAR status
Closed as program error.
Error description
GOC: DDL generated to add a partition is just this one line. The ALTER TABLE is statement is missing ADD PARTITION ENDING AT (99) When run, this gives the following error ADB7955E DSNT408I SQLCODE = -199, ERROR:ILLEGAL USE OF KEYWORD ADD ADB7955E <WNG_STMT> TRANSFER GET SQL SAVEPOINT HOLD FREE WAS EXPECTED
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Users of the Db2 Object Comparison Tool for * * z/OS who simultaneously alter and add * * partitions to a table. * **************************************************************** * PROBLEM DESCRIPTION: Running a comparison that involves * * adding a partition to the end of a * * table and altering other partitions * * might result in a work statement list * * (WSL) that is missing an ALTER TABLE * * statement. Running this WSL might * * result in the following error: * * * * * * ADB7955E SQL error: * * * * ADB7955E DSNT408I SQLCODE = -199, * * ERROR:ILLEGAL USE OF KEYWORD ADD.TOKEN * * <E ADB7955E <WNG_STMT> TRANSFER GET SQL * * SAVEPOINT HOLD FREE WAS EXPECTED * **************************************************************** When a comparison includes a schema change as well as altering and adding partitions to the end of a table, the resulting work statement list (WSL) and CHG file might have a missing ALTER TABLE statement. Attempting to run this WSL will result in the following error: ADB7955E SQL error: ADB7955EDSNT408I SQLCODE = -199, ERROR:ILLEGAL USE OF KEYWORD ADD. TOKEN ADB7955E<WNG_STMT> TRANSFER GET SQL SAVEPOINT HOLD FREE WAS EXPECTED
Problem conclusion
The problem has been resolved. Search Keywords: MSGADB7955E SQLCODE199N
Temporary fix
Comments
APAR Information
APAR number
PH30074
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
2020-10-01
Closed date
2020-12-04
Last modified date
2021-01-04
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI72932
Modules/Macros
ADB2CMT
Fix information
Fixed component name
DB2 ADMIN TOOL
Fixed component ID
568851500
Applicable component levels
RC10 PSY UI72932
UP21/01/04 P F012
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.
[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSCVQTD","label":"IBM Db2 Administration Tool for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"12.1.0"}]
Document Information
Modified date:
12 February 2021