IBM Support

PI56407: DB2 OBJECT COMPARISON TOOL ALTER TABLE ADD COLUMN - UNEXPECTED TOKEN AFTER PERIOD KEYWORD, ADB2PA: 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

  • Using DB2 Object Comparison Tool to generate an ALTER TABLE ADD
    COLUMN statement with column-name PERIOD returns the following
    message:
       Unexpected token after PERIOD keyword - expected keyword
                  SYSTEM_TIME or BUSINESS_TIME
    
       ADB2PA: The following statement could not be parsed :
    
         ALTER TABLE >creator<.>tblname< ADD
          PERIOD CHAR(2) FOR SBCS DATA NOT NULL WITH DEFAULT 'D'
    
         Token number =      8, Token = CHAR
         Unsuccessful parse of DDL statement.
         ADB2CID - Now terminating
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Administration Tool         *
    *                 for z/OS who use Change Management.          *
    ****************************************************************
    * PROBLEM DESCRIPTION: When using Change Management to         *
    *                      register a change to add a column       *
    *                      with name PERIOD into a table,          *
    *                      GOCCM failed with return code 16 /      *
    *                      RC = 16.                                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When using Change Management to register a change to add a
    column with name PERIOD into a table, GOCCM failed with
    RC = 16 and the following errors:
    
    Unexpected token after PERIOD keyword - expected keyword
    SYSTEM_TIME or BUSINESS_TIME
    
    ADB2PA: The following statement could not be parsed :
    
    ALTER TABLE >table_schema<.>table_name< ADD PERIOD
    >column_definition<
    
    Token number =      8, Token = CHAR
    Unsuccessful parse of DDL statement.
    ADB2CID - Now terminating
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI56407

  • Reported component name

    DB2 OBJECT COMP

  • Reported component ID

    5697G6400

  • Reported release

    B20

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-02-02

  • Closed date

    2016-07-11

  • Last modified date

    2016-08-02

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

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

    UI39311 UI39312

Modules/Macros

  •    ADB2PA
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RB10 PSY UI39311

       UP16/07/15 P F607

  • RB20 PSY UI39312

       UP16/07/15 P F607

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 August 2016