IBM Support

PI06208: RECEIVE SQLCODE = -518 ATTEMPTING TO EXECUTE A SELECT STATEMENT WITH A COMMON TABLE EXPRESSION, WHEN USING FM/DB2 OPTION 4.4.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using File Manager DB2 Edit/Execute SQL (Data Set)
    function (FM/DB2 option 4.4), receive SQLCODE = -518 when
    attempting to execute a SELECT statement with a common table
    expression.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All users of File Manager DB2 component.     *
    ****************************************************************
    * PROBLEM DESCRIPTION: 1. SQLCODE-518 processing a SELECT      *
    *                      statement with a common table           *
    *                      expression, FM/DB2 Edit/Execute SQL     *
    *                      (Data Set) function.                    *
    *                      2. Message 'Invalid statement type'     *
    *                      processing a SELECT statement with a    *
    *                      common table expression, FM/DB2 Enter,  *
    *                      Execute and Explain SQL function.       *
    ****************************************************************
    * RECOMMENDATION: Apply the provided PTF.                      *
    ****************************************************************
    A SELECT statement with a common table expression starts with
    'WITH'.  This keyword is not being recognized, resulting in
    incorrect processing.
    

Problem conclusion

  • File Manager DB2 component has been updated to correct the
    problem.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI06208

  • Reported component name

    FILE MANAGER Z/

  • Reported component ID

    5655W6800

  • Reported release

    C12

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2013-11-14

  • Closed date

    2013-12-24

  • Last modified date

    2014-02-11

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

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

    PI11469

Modules/Macros

  • FMN2LVL
    

Fix information

  • Fixed component name

    FILE MANAGER Z/

  • Fixed component ID

    5655W6800

Applicable component levels

  • RC12 PSY UI13826

       UP14/01/31 P F401

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":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"C12","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSXJAV","label":"File Manager for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"C12","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
11 February 2014