IBM Support

PH67094: UNEXPECTED TOKEN AFTER WITH KEYWORD - EXPECTED KEYWORD TIME

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Unexpected token after WITH keyword - expected keyword TIME
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Db2 Administration Tool for z/OS    *
    *                 who process SQL statements that use the      *
    *                 CURRENT_TIMESTAMP or CURRENT TIMESTAMP       *
    *                 special register                             *
    ****************************************************************
    * PROBLEM DESCRIPTION: When processing an SQL statement that   *
    *                      has special register CURRENT_TIMESTAMP  *
    *                      or CURRENT TIMESTAMP, in either form,   *
    *                      followed by WITH used as part of a      *
    *                      clause other than WITH/WITHOUT TIME     *
    *                      ZONE, the Db2 Admin Tool parser fails   *
    *                      with the following message:             *
    *                      Unexpected token after WITH keyword     *
    *                      - expected keyword TIME                 *
    ****************************************************************
    This APAR enables parsing to properly distinguish between
    WITH TIME ZONE and WITH used as part of another clause.
    

Problem conclusion

  • The problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH67094

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    D10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2025-06-25

  • Closed date

    2025-08-27

  • Last modified date

    2025-08-31

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

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

    UO04668

Modules/Macros

  • ADB2PA
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RD10 PSY UO04668

       UP25/08/29 P F508

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":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSZJXP","label":"DB2 Tools for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"D10","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
31 August 2025