IBM Support

PH44864: DB2 AOC: SYSTIMESTAMP NOT SUPPORTED AS SPECIAL REGISTER

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Db2 AOC: SYSTIMESTAMP not supported as special register
    
    
    DESCRIPTION:  Running GEN on a view using SYSTIMESTAMP as an
    alternative to CURRENT_TIMESTAMP may result in errors or
    warnings.  The parser currently does not support SYSTIMESTAMP as
    a special register.  This APAR will support SYSTIMESTAMP in GEN
    as a special register (similar to SYSDATE, or
    CURRENT_TIMESTAMP).
    

Local fix

  • na
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Db2 Administration Tool for z/OS    *
    *                 and Db2 Object Comparison Tool for z/OS      *
    ****************************************************************
    * PROBLEM DESCRIPTION: The DDL Generator (GEN) might fail if   *
    *                      the keyword SYSTIMESTAMP is included in *
    *                      the definition of a view.               *
    ****************************************************************
    The DDL parser does not support the keyword SYSTIMESTAMP as a
    special register. When you run GEN on a view whose definition
    includes the keyword SYSTIMESTAMP and a RUNSQLID is specified,
    the following error message will be returned:
    
    ADB1847E A parser error has occurred for the following view.
             GEN cannot complete the request.
             Reason code = 8
             >current_SQLID<.>view_name<
    
    When you run GEN on a view whose definition
    includes the keyword SYSTIMESTAMP and a RUNSQLID is not
    specified, the following warning message will be returned:
    
    ADB1848W Unformatted DDL will be generated for the following
    view because it could not be parsed. Please verify the DDL.
    
    Reason code = 28
    >current_SQLID<.>view_name<
    
    Keywords: GEN SYSTIMESTAMP MSGADB1847E MSGADB1848W
    

Problem conclusion

  • The problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH44864

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-03-14

  • Closed date

    2022-05-05

  • Last modified date

    2022-06-01

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

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

    UI80425

Modules/Macros

  • ADB2PA
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSZJXP","label":"DB2 Tools for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"12.1.0","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
06 July 2022