IBM Support

PH61324: THE ASCII STRFTIME() WITH CONVERSION SPECIFIER %Z MAY GENERATE AN INCORRECT OFFSET WHEN DAYLIGHT SAVING TIME IS IN EFFECT.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When the strftime() function is called in an ASCII
    environment (mode = ASCII) with the conversion specifier %z and
    Daylight Savings Time, DST, in effect the resulting generated
    offset is incorrect.
    
    
    
    ANALYSIS:     The ASCII strftime() function when used with the
    %z
    conversion does not produce the correct offset if daylight
    savings time is in effect.
    
    KNOWN IMPACT:
        Functions calling strftime() in an ASCII environment with
    DST
    specified for the time zone may produce incorrect output.
    
    VERIFICATION STEPS:
    1.  The application must be calling the ASCII strftime()
    function,
       i.e. the mode=ascii flag is on.
    2.  The call must include the %z conversion specifier.
    3.  The timezone must specify daylight savings time.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: z/OS C/C++ users who invoke ASCII version    *
    *                 of strftime() or wcsftime() with conversion  *
    *                 specifier %z when daylight saving time is    *
    *                 in effect.                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION: The ASCII version of strftime() and     *
    *                      wcsftime() with %z may generate         *
    *                      an incorrect offset from UTC when       *
    *                      daylight saving time is in effect.      *
    ****************************************************************
    See the problem description.
    

Problem conclusion

  • The code has been changed to fix the problem.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH61324

  • Reported component name

    LE BASE FOR Z/O

  • Reported component ID

    568819801

  • Reported release

    7E0

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2024-05-10

  • Closed date

    2024-06-20

  • Last modified date

    2024-08-01

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

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

    UI97389 UI97390 UI97391

Modules/Macros

  • CELJSFTM CELZSFTM
    

Fix information

  • Fixed component name

    LE C LIB FOR Z/

  • Fixed component ID

    568819805

Applicable component levels

  • R7C0 PSY UI97391

       UP24/07/03 P F407

  • R7D0 PSY UI97390

       UP24/07/03 P F407

  • R7E0 PSY UI97389

       UP24/07/03 P F407

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":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSTLTF","label":"z\/OS XL C\/C++"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7E0","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
01 August 2024