IBM Support

PM08981: DSNT408I SQLCODE -206 -418 ANLPPKGE ANLPLIM1 EXPLAINING PACKAGE WITH QUOTES OR SCALAR FUNCTION

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • 1.  ANLPPKGE - SQLCODE -206 received when issuing dynamic
    Explain on a package with SQL statements using quotation marks
    for delimiting literal strings. ( quote quotes )  Explain on the
    same package runs successfully using apostrophes.
    2.  ANLPPKGE - SQLCODE -418 received when issuing dynamic
    Explain on a package which contains SQL statements using a
    scalar function on a host variable.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All users of SQLPA.                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    *                      1.ANLPPKGE - SQLCODE -206 received      *
    *                        when issuing dynamic Explain on a     *
    *                        package with SQL statements using     *
    *                        quotation marks (Double quotes)       *
    *                        for delimiting literal strings.       *
    *                                                              *
    *                      2.ANLPPKGE - SQLCODE -418 received      *
    *                        when issuing dynamic Explain on a     *
    *                        package which contains SQL statement  *
    *                        using scalar function (TIME) on a     *
    *                        host variable.                        *
    *                                                              *
    ****************************************************************
    * RECOMMENDATION: APPLY the PTF.                               *
    ****************************************************************
    Code has been changed to correct this condition.
    

Problem conclusion

  • Apply the PTF.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM08981

  • Reported component name

    DB2 SQL PERF AN

  • Reported component ID

    5697F5701

  • Reported release

    320

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2010-03-03

  • Closed date

    2010-10-11

  • Last modified date

    2010-11-02

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

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

    UK61241

Modules/Macros

  •    ANLMAIN
    

Fix information

  • Fixed component name

    DB2 SQL PERF AN

  • Fixed component ID

    5697F5701

Applicable component levels

  • R320 PSY UK61241

       UP10/10/13 P F010

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":"320"}]

Document Information

Modified date:
17 March 2021