IBM Support

PI85069: DB2 ADMINISTRATION TOOL GOCCM IMPORT DOES NOT PARSE GENERATED ASIDENTITY

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • GOCCM cannot import DDL with
    GENERATED AS IDENTITY (START WITH 1)
    where
       GENERATED ALWAYS AS IDENTITY (START WITH 1)
    works OK. ADBCDTS don't recognize ALWAYS as optional. ADBCDTS
    issues the following messages.
    
    On IMPORT:
       ADBCDTS - Unsuccessful completion
                 ADB9409E Registration could not be completed.
                   Reason Code . . . :             16
                   Reason  . . . . . : Failed while building the
                                       delta version.
                   Change ID . . . . :            961
       Register error. rc=            16
    
    Compare reports:
       ADB7751W The token ( was found in the Column list, but
                it is not valid.
       ADB7751W The token START was found in the Column list, but
                it is not valid.
       ADB7751W The token WITH was found in the Column list, but
                it is not valid.
       ADB7751W The token 1 was found in the Column list, but it
                is not valid.
       ADB7723E Unexpected token in table definition. The token
                is ).
    

Local fix

  • Add "ALWAYS":
       GENERATED ALWAYS AS IDENTITY (START WITH 1)
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 Administration Tool for z/OS    *
    *                 and DB2 Object Comparison Tool for z/OS      *
    *                 who import a change or perform a compare     *
    *                 using DDL.                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION: The DDL reader fails to correctly       *
    *                      process DDL when a user tries to        *
    *                      import a change or compare using        *
    *                      a DDL that contains CREATE or           *
    *                      ALTER TABLE statement that has          *
    *                      the GENERATED clause without            *
    *                      the ALWAYS keyword.                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When importing a change or using compare to process DDL that
    contains CREATE or ALTER TABLE statement that has GENERATED
    clause without ALWAYS keyword, the following warning messages
    are observed:
    
    ADB7751W The token ( was found in the
    Column list, but it is not valid.
    ADB7751W The token START was found in
    the Column list, but it is not valid.
    ADB7751W The token WITH was found in
    the Column list, but it is not valid.
    ADB7751W The token 1 was found in the
    Column list, but it is not valid.
    ADB7723E Unexpected token in table
    definition. The token is ).
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI85069

  • 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-07-28

  • Closed date

    2017-08-17

  • Last modified date

    2017-09-02

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

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

    UI49640 UI49641

Modules/Macros

  •    ADBCDTS
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RB20 PSY UI49640

       UP17/08/23 P F708

  • RC10 PSY UI49641

       UP17/08/23 P F708

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 September 2017