A fix is available
APAR status
Closed as program error.
Error description
If you execute the ALT line command on a table with an identity column, followed by line command U ('Update') on a column on panel ADB27C ('ALTER table'), primary command ADD ('Add objects') on panel ADB27CA ('Alter objects'), and then line command A ('Alter') on the same panel, the result may be error SQLCODE = -206: SQLCODE : -206 DSNTIAR CODE : 0 DSNT408I SQLCODE = -206, ERROR: SP.FORMAT IS NOT VALID IN THE CONTEXT WHERE IT IS USED DSNT418I SQLSTATE = 42703 SQLSTATE RETURN CODE DSNT415I SQLERRP = DSNXORSO SQL PROCEDURE DETECTING ERROR DSNT416I SQLERRD = -225 0 0 -1 0 0 SQL DIAGNOSTIC INFORMATION DSNT416I SQLERRD = X'FFFFFF1F' X'00000000' X'00000000' X'FFFFFFFF' X'00000000' X'00000000' SQL DIAGNOSTIC INFORMATION Keyword: SQLCODEN206
Local fix
n/a
Problem summary
**************************************************************** * USERS AFFECTED: Users of Db2 Administration Tool for z/OS * * that use the ALT function with tables that * * have identity columns * **************************************************************** * PROBLEM DESCRIPTION: The ALT function issues a panel error * * when changing two tables with identity * * columns. * **************************************************************** The user receives the following error when completing the steps below: SQLCODE : -206 DSNTIAR CODE : 0DSNT408I SQLCODE = -206, ERROR: SP.FORMAT IS NOT VALID IN THE CONTEXT WHERE IT IS USED Steps: 1. Specify ALT on a table with an identity column. 2. Change a non-identity column attribute and issue NEXT. 3. Use the ADD primary command to add another table with an identity column. 4. Use the A line command on a second table to change a non-identity column attribute and issue NEXT. 5. Use the A line command again on the second table.
Problem conclusion
The problem has been resolved. Search Keywords: SQLCODE206N
Temporary fix
Comments
APAR Information
APAR number
PH40469
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
2021-09-09
Closed date
2021-10-07
Last modified date
2021-11-01
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI77491
Modules/Macros
ADB27CA
Fix information
Fixed component name
DB2 ADMIN TOOL
Fixed component ID
568851500
Applicable component levels
RC10 PSY UI77491
UP21/10/12 P F110
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":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSZJXP","label":"DB2 Tools for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"12.1.0"}]
Document Information
Modified date:
02 November 2021