A fix is available
APAR status
Closed as program error.
Error description
The DB2 Administration Tool for z/OS' panel ADB21TIN 'Build SQL INSERT Prototype' does not support CLOB and BLOB data types resulting in a SQLCODE -206 / SQLCODEN206 when the insert is attempted.
Local fix
Specify the input for BLOB columns using the BLOB('') syntax and specify the input for CLOB columns by enclosing the value in quotes.
Problem summary
**************************************************************** * USERS AFFECTED: Users of the DB2 Administration Tool for * * z/OS. * **************************************************************** * PROBLEM DESCRIPTION: When a user performs an insert on a * * table with a CLOB / BLOB / DBCLOB * * column on panel ADB21TIN 'Build SQL * * INSERT Prototype', update a BLOB / * * CLOB / DBCLOB column on panel * * ADB21TUP 'Build SQL UPDATE Prototype, * * delete a BLOB / CLOB / DBCLOB column * * on panel ADB21TDE 'Build SQL SELECT * * Prototype', or select a BLOB / CLOB / * * DBCLOB column on panel ADB21TSE * * 'Build SQL SELECT Prototype', * * the DB2 Administration Tool * * does not generate the correct * * SQL statement and fails with a * * SQLCODE=-206 / SQLCODEN206 * * error: * * * * DSNT408I SQLCODE = -206, * * ERROR: AB IS NOT VALID * * IN THE CONTEXT WHERE * * IT IS USED * * DSNT418I SQLSTATE = 42703 * * SQLSTATE RETURN CODE * **************************************************************** * RECOMMENDATION: * **************************************************************** When a user performs an insert on a table with a CLOB / BLOB / DBCLOB column on panel ADB21TIN 'Build SQL INSERT Prototype', update a BLOB / CLOB / DBCLOB column on panel ADB21TUP 'Build SQL UPDATE Prototype, delete a BLOB / CLOB / DBCLOB column on panel ADB21TDE 'Build SQL DELECT Prototype', or select a BLOB / CLOB / DBCLOB column on panel ADB21TSE 'Build SQL SELECT Prototype', the DB2 Administration Tool does not generate the correct SQL statement and fails with a SQLCODE=-206 / SQLCODEN206 error: DSNT408I SQLCODE = -206, ERROR: AB IS NOT VALID IN THE CONTEXT WHERE IT IS USED DSNT418I SQLSTATE = 42703 SQLSTATE RETURN CODE
Problem conclusion
Problem has been resolved.
Temporary fix
Comments
APAR Information
APAR number
PM96448
Reported component name
DB2 ADMIN TOOL
Reported component ID
568851500
Reported release
A20
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2013-09-05
Closed date
2013-12-26
Last modified date
2014-01-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI13860 UI13861 UI13862
Modules/Macros
ADB21TDE ADB21TIN ADB21TSE ADB21TUP
Fix information
Fixed component name
DB2 ADMIN TOOL
Fixed component ID
568851500
Applicable component levels
RA10 PSY UI13860
UP13/12/28 P F312
RA20 PSY UI13861
UP13/12/28 P F312
RB10 PSY UI13862
UP13/12/28 P F312
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":"10.2.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
02 January 2014