IBM Support

PH69903: DERIVED COLUMN EXPRESSION FUNCTION %TODATETIME DOES NOT EVALUATE CORRECTLY.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using the %TODATETIME function in a derived column or
    filtering expression with *MDY format specifier, the value
    returned is always "1901-01-01".
    

Local fix

  • No local fix is available.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of InfoSphere CDC for z/OS             *
    ****************************************************************
    * PROBLEM DESCRIPTION: using %TODATETIME with *MDY causes it   *
    *                      to always evaluate to 1901-01-01 due    *
    *                      to a bug in the parsing code which      *
    *                      detects *MDY as *JUL and then fails     *
    *                      the length check for *JUL format and    *
    *                      defaults to 1901-01-01                  *
    ****************************************************************
    caused by a misplaced -1 in the if statement that determines
    if the format is *JUL , always evaluating to true. Which then
    fails the length check when the data was meant for *MDY format.
    Defaulting the resulting values to 1901-01-01 regardless of
    input.
    

Problem conclusion

  • fixed the check for the *JUL format so that *MDY can work
    correctly in %TODATETIME.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH69903

  • Reported component name

    INFO SRVR CDC Z

  • Reported component ID

    5655U7600

  • Reported release

    A21

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2026-01-29

  • Closed date

    2026-02-26

  • Last modified date

    2026-03-02

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

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

    UO06796

Modules/Macros

  • CHCMIEXD
    

Fix information

  • Fixed component name

    INFO SRVR CDC Z

  • Fixed component ID

    5655U7600

Applicable component levels

  • RA21 PSY UO06796

       UP26/03/02 P F602

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":"BU048","label":"IBM Software"},"Product":{"code":"SSTVMA","label":"InfoSphere Data Replication for DB2 for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.2.1","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Document Information

Modified date:
02 March 2026