IBM Support

PI07144: ERROR RUNNING ADB2GEN WITH A VIEW.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error running ADB2GEN with a view.
    ADB2PA5.TOKENIZE
    O i=0001696 st=00 Char=ᄑ 4A Sym#=01 N st=00 Act=77 Typ=10
    Ts=0001682
    P=0001696 C
    i=000001696L(sql_stmt)=000001944L(sql_stmt_caps)=000001942
    Syntax error during statement scan. Text= = 'Y'
    ADB2PA5: The following statement could not be parsed :..
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Administration Tool for     *
    *                 z/OS.                                        *
    ****************************************************************
    * PROBLEM DESCRIPTION: When using the GEN or DDL line command  *
    *                      on a view, if the default CCSID for     *
    *                      EBCDIC SBCS on the user's system is     *
    *                      different than the CCSID in the         *
    *                      SYSIBM.SYSENVIRONMENT table row for     *
    *                      the view, the DB2 Administration        *
    *                      Tool issues the following error:        *
    *                                                              *
    *                      ADB2PA5: The following statement        *
    *                      could not be parsed :                   *
    *                                                              *
    *                      CREATE VIEW >schema<.>view_name<...     *
    *                          SELECT ALL ...,                     *
    *                                ...                           *
    *                            FROM ...                          *
    *                            WHERE ...                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When using the GEN or DDL line command on a view, if the
    default CCSID for EBCDIC SBCS on the user's system is
    different than the CCSID in the SYSIBM.SYSENVIRONMENT table
    row for the view, the DB2 Administration Tool issues the
    following error:
    
    ADB2PA5: The following statement could not be parsed :
    
    CREATE VIEW >schema<.>view_name<...
        SELECT ALL ...,
              ...
          FROM ...
          WHERE ...
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI07144

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-12-02

  • Closed date

    2014-01-14

  • Last modified date

    2014-02-05

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

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

Modules/Macros

  • ADB2PA   ADB2REG
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RB10 PSY UI14219

       UP14/01/16 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":"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:
05 February 2014