IBM Support

PI83140: ADMIN TOOL GEN COMMAND ON VIEW MAY RESULT IN ADB2PA MESSAGE 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 executing the GEN line command on a view, the following
    error may result:
    
    ADB2PA: The following statement could not be parsed
    :
    CREATE VIEW >viewname<
    ...
    
    Token number = 499, Token =
    (
    Unexpected table specification
    syntax
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Administration Tool         *
    *                 for z/OS and DB2 Object Comparison           *
    *                 Tool for z/OS who use the command            *
    *                 GEN or DDL to generate a VIEW DDL.           *
    ****************************************************************
    * PROBLEM DESCRIPTION: If the view column's table is not       *
    *                      referenced inside CREATE VIEW           *
    *                      statement, and if a column is a         *
    *                      correlation name in the inner           *
    *                      SELECT clause, the parser issue         *
    *                      arning message ADB1848W /               *
    *                      msgadb1848w:                            *
    *                                                              *
    *                      ADB1848W Unformatted DDL                *
    *                      will be generated for the following     *
    *                      view because it could not be parsed.    *
    *                      Please verify the DDL.                  *
    *                      Reason code = 28                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When using GEN or DDL on a view, the following warning
    message is issued:
    
     ADB1848W Unformatted DDL will be generated for the
     following view because it could not be parsed.
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI83140

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    B20

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-06-15

  • Closed date

    2017-09-22

  • Last modified date

    2017-10-02

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

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

Modules/Macros

  •    ADB2PA
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RB20 PSY UI50554

       UP17/09/26 P F709

  • RC10 PSY UI50555

       UP17/09/26 P F709

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

Document Information

Modified date:
02 October 2017