IBM Support

PH49882: "UNEXPECTED <SELECT> SYNTAX IN THE WITH CLAUSE" WHEN FULLSELECT CONTAINS VALUES CLAUSE

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When a fullselect component of the SQL statement is comprised of
    a VALUES clause, parsing fails to recognize the statement as
    valid SQL. Instead, "Unexpected <Select> syntax in the WITH
    clause" is written to SYSPRINT and processing is terminated.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Db2 Administration Tool for z/OS    *
    *                 who process an SQL statement with a          *
    *                 fullselect with VALUES.                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: SQL parsing does not support the VALUES *
    *                      clause in a fullselect of a an SQL      *
    *                      statement.                              *
    ****************************************************************
    SQL parsing is updated to support the VALUES clause in a
    fullselect.
    

Problem conclusion

  • The problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH49882

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-09-28

  • Closed date

    2022-12-09

  • Last modified date

    2023-01-03

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

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

    UI83666 UI83667

Modules/Macros

  • ADB2PA   ADBCDTS
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RC10 PSY UI83666

       UP22/12/13 P F212

  • RD10 PSY UI83667

       UP22/12/13 P F212

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":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSZJXP","label":"DB2 Tools for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"12.1.0","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
05 January 2023