IBM Support

PI20831: SQLCODE ON EXPLAIN AND TEST COMMANDS WHEN AS CLAUSE HANDLED INCORRECTLY

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • SQLCODE ON EXPLAIN AND TEST COMMANDS WHEN AS CLAUSE HANDLED
    INCORRECTLY
    
    Customer reported problem was SQLCODE -208 issued due to
    incorrect host variable substitution in ORDER BY clause
    
    SQLCODE-208 SQLCODE208
    
    Along with the following issues.
    
    SQLCODE = -104, ERROR:  ILLEGAL SYMBOL "("
    due to mishandling the following
    (1) CAST FOR .. <n> ROWS
    (2) ATOMIC clause
    
    SQLCODE104
    
    
    VARCHAR column incorrectly referenced as CHAR leading to
    EXPLAIN SQLCODE -60,
    
    SQLCODE60
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 Path Checker.                   *
    ****************************************************************
    * PROBLEM DESCRIPTION: SQLCODE ON EXPLAIN AND TEST COMMANDS    *
    *                      WHEN AS CLAUSE HANDLED INCORRECTLY      *
    *                      Customer reported problem was           *
    *                      SQLCODE -208 issued due to incorrect    *
    *                      host variable substitution in           *
    *                      ORDER BY clause SQLCODE-208 SQLCODE208  *
    *                      Along with the following issues.        *
    *                      SQLCODE = -104, ERROR:  ILLEGAL         *
    *                       SYMBOL "("                   )         *
    *                      due to mishandling the following        *
    *                      (1) CAST FOR .. <n> ROWS                *
    *                      (2) ATOMIC clause                       *
    *                      SQLCODE104                              *
    *                      VARCHAR column incorrectly referenced   *
    *                      as CHAR leading to EXPLAIN SQLCODE -60, *
    *                      SQLCODE60                               *
    ****************************************************************
    * RECOMMENDATION: APPLY the PTF.                               *
    ****************************************************************
    Code has been changed to correct this condition.
    

Problem conclusion

  • APPLY the PTF.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI20831

  • Reported component name

    DB2 PATH CHECKE

  • Reported component ID

    5655E3901

  • Reported release

    410

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-06-25

  • Closed date

    2014-08-27

  • Last modified date

    2014-09-03

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

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

    UI20921 UI20922

Modules/Macros

  •    CKPA303  CKPPTHCK
    

Fix information

  • Fixed component name

    DB2 PATH CHECKE

  • Fixed component ID

    5655E3901

Applicable component levels

  • R410 PSY UI20921

       UP14/08/29 P F408

  • R420 PSY UI20922

       UP14/08/29 P F408

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":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQTS","label":"Db2 Path Checker"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"4.1.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
03 September 2014