IBM Support

PI73883: GENERATING DDL ON CERTAIN VIEWS RESULTS IN ERROR ADB2PA: THE FOLLOWING STATEMENT COULD NOT BE PARSED

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When attempting to generate DDL on certain views the following
    error messages may appear:
    Unexpected token after ) keyword - expected keyword
    correlation-clause
    ADB2PA: The following statement could not be parsed :
    Token number =     75, Token = WHERE
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 Administration Tool for z/OS    *
    *                 Version 11, Release 1 who use the            *
    *                 Generate (GEN) or DDL command on a view      *
    *                 which contains an XMLTABLE function in       *
    *                 a FROM clause followed by a WHERE clause.    *
    ****************************************************************
    * PROBLEM DESCRIPTION: A parser error may result from          *
    *                      performing the GEN or DDL command       *
    *                      on a view which contains an             *
    *                      XMLTABLE function in a FROM             *
    *                      clause followed by a WHERE clause.      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When using the GEN or DDL command on a view which contains an
    XMLTABLE function in a FROM clause followed by a WHERE clause,
    a parser error is observed:
    
    (Unexpected token after ) keyword - expected keyword
    correlation-clause
    
    ADB2PA:  The following could not be parsed:
    
    create view ......;
    
    Token number = nn, Token=WHERE
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI73883

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-12-15

  • Closed date

    2017-03-31

  • Last modified date

    2017-05-01

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

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

    UI46046

Modules/Macros

  •    ADB2PA
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RB10 PSY UI46046

       UP17/04/04 P F704

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

Document Information

Modified date:
01 May 2017