IBM Support

PK88041: SQLCODE -873 USING UT LINE COMMAND IN DB2 V8 CM

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In DB2 Administration Tool panel adb21t using UT line command
    to perform utility on a table results in sqlcoden873 sqlcode873
    only when run from DB2 v8 CM where SYSIBM.SYSTABLES still has
    encoding scheme EBCDIC . Failure occurs in panel adb2ut0 when
    making GTT Global Temporary Table with UNICODE executing command
      &DB2ACMD='MAKETEMP SCAN UNICODE'
    Error messages appear similar to:
    DSNT408I SQLCODE = -873, ERROR:  THE STATEMENT REFERENCED DATA
             ENCODED WITH DIFFERENT ENCODING SCHEMES OR CCSIDS IN
             AN INVALID CONTEXT
    DSNT418I SQLSTATE   = 53090 SQLSTATE RETURN CODE
    DSNT415I SQLERRP    = DSNXOEND SQL PROCEDURE DETECTING ERROR
    .
    Error occurs in panel adb2uto processing the following JOIN:
      FROM SESSION.&$TABLE M
        LEFT OUTER JOIN +
         SYSIBM.SYSTABLES T  +
    

Local fix

  • For DB2 v8 CM only, change panel adb2ut0 from:
        &DB2ACMD='MAKETEMP SCAN UNICODE'
    to:
        &DB2ACMD='MAKETEMP SCAN EBCDIC'
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 Administration Tool who run DB2 *
    *                 Utilities.                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION: Option UT against a table in DB2        *
    *                      R810 CM fails with SQLCODE -873.        *
    ****************************************************************
    * RECOMMENDATION: Apply The PTF.                               *
    ****************************************************************
    Option UT against a table in DB2 R810 CM fails with
    SQLCODE -873.
    

Problem conclusion

  • The problem has been fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK88041

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    720

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-06-04

  • Closed date

    2009-09-18

  • Last modified date

    2009-10-03

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Modules/Macros

  •    ADB2UT0
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • R720 PSY UK50262

       UP09/09/26 P F909

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":"720","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
03 October 2009