IBM Support

PI22183: DB2 ADMINISTRATION TOOL FOR Z/OS CANNOT SUCCESSFULLY REVERSE- ENGINEER/PARSE DDL FOR VIEWS THAT CONTAIN XML EXPRESSIONS

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • DB2 Administration Tool for z/OS cannot successfully reverse-
    engineer/parse DDL for views that contain XML expressions
    and results in following messages using DDL Command:
    Unexpected token after 'xxx' keyword - expected keyword ")"
    msgADB2PA  - ADB2PA: The following statement could not be parsed
    and Token number =    nnn, Token = xxx
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Administration Tool for     *
    *                 z/OS who use the Generate (GEN) function     *
    *                 to generate a VIEW that uses the XMLTABLE    *
    *                 function.                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION: DB2 Administration Tool for z/OS does   *
    *                      not successfully generate a VIEW that   *
    *                      contains the XMLTABLE function.  The    *
    *                      XMLTABLE function uses the PATH         *
    *                      clause which has a default-clause       *
    *                                                              *
    *                      For example:                            *
    *                                                              *
    *                      CREATE VIEW >view_name<                 *
    *                      ...                                     *
    *                      XMLTABLE(...                            *
    *                      COLUMNS column-name data-type           *
    *                      PATH column-xquery-expression           *
    *                      constant                                *
    *                      default-clause ...                      *
    *                      )                                       *
    *                      ...                                     *
    *                                                              *
    *                      The GEN job contains warning            *
    *                      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:                                              *
    ****************************************************************
    GEN does not generate DDL for a VIEW that contains the XMLTABLE
    function.
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI22183

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    A20

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-07-16

  • Closed date

    2014-08-14

  • Last modified date

    2014-09-03

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

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

    UI20539 UI20540

Modules/Macros

  •    ADB2PA
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RA20 PSY UI20539

       UP14/08/20 P F408

  • RB10 PSY UI20540

       UP14/08/20 P F408

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

Document Information

Modified date:
03 September 2014