IBM Support

PI07319: IMPORT CHANGE ALTERING TABLE WITH FOREIGN KEY GENERATES MSG ADB2PA5

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The DB2 Administration Tool for z/OS Change Management function
    importing a change file which alters a table with a foreign key
    generates error message:
      ADB2PA5: The following statement could not be parsed
      ADB2PA5.TOKENIZE
      O i=0000059 st=00 Char=_ 6D Sym#=03 ...
      Syntax error during statement scan. Text=_ID
      ADB2PA5: The following statement could not be parsed :
      ALTER TABLE TBname.name DROP FOREIGN KEY var_id
      Unsuccessful parse of DDL statement.
      ADB2CID - Now terminating
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Administration and DB2      *
    *                 Object Comparison Tool for z/OS who use      *
    *                 Compare to compare tables.                   *
    ****************************************************************
    * PROBLEM DESCRIPTION: The DB2 Administration Tool for z/OS    *
    *                      Change Management function imports a    *
    *                      CHANGE file which alters a table with   *
    *                      a foreign key generating the following  *
    *                      error message:                          *
    *                                                              *
    *                      ADB2PA5: The following statement        *
    *                               could not be parsed            *
    *                      ADB2PA5.TOKENIZE                        *
    *                      O i=0000059 st=00 Char=_ 6D Sym#=03...  *
    *                      Syntax error during statement scan.     *
    *                      Text=_ID                                *
    *                      ADB2PA5: The following statement        *
    *                      could not be parsed :                   *
    *                      ALTER TABLE TBname.name                 *
    *                      DROP FOREIGN KEY var_id                 *
    *                      Unsuccessful parse of DDL statement.    *
    *                        ADB2CID - Now terminating             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Compare needs quotes around the table schema, table name and
    constraint name if there is a delimited identifier when
    generating the CHANGE file.  Otherwise, DB2 Admin Change
    Management function can not import the change.
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI07319

  • 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

    2013-12-03

  • Closed date

    2014-01-28

  • 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

  •    ADB2CMR  ADB2CMT
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RA20 PSY UI14594

       UP14/01/30 P F401

  • RB10 PSY UI14595

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

Document Information

Modified date:
05 February 2014