IBM Support

PM02088: No exception thrown when date provided to datetimelib.dateValue where MMDD is 0229 in a year this is not valid

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Rational COBOL Runtime V6.0.1:
    
    No exception is thrown when the date provided to the
    datetimelib.dateValue system function is invalid.  Specifically,
    when MMDD is 0229 in a year that this is not valid, no exception
    is thrown.
    
    The following is an example of this problem:
    
      inDate = "20090229";
      dtVar = datetimelib.dateValue(inDate);
    
    The date provided is incorrect and should be flagged in error.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: USERS OF RATIONAL COBOL RUNTIME FOR ZSERIES  *
    ****************************************************************
    * PROBLEM DESCRIPTION: NO EXCEPTION THROWN WHEN DATE PROVIDED  *
    *                      TO DATETIMELIB.DATEVALUE WHEN MMDD IS   *
    *                      0229 IN A YEAR THIS IS NOT VALID        *
    ****************************************************************
    * RECOMMENDATION: APPLY THIS MAINTENANCE.                      *
    ****************************************************************
    NO EXCEPTION THROWN WHEN DATE PROVIDED TO DATETIMELIB.DATEVALUE
    WHEN MMDD IS 0229 IN A YEAR THIS IS NOT VALID
    

Problem conclusion

  • NO EXCEPTION THROWN WHEN DATE PROVIDED TO DATETIMELIB.DATEVALUE
    WHEN MMDD IS 0229 IN A YEAR THIS IS NOT VALID
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM02088

  • Reported component name

    RATL COBOL RT Z

  • Reported component ID

    5655R2900

  • Reported release

    601

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-11-24

  • Closed date

    2010-01-13

  • Last modified date

    2010-03-03

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

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

Modules/Macros

  • EZEDTSI
    

Fix information

  • Fixed component name

    RATL COBOL RT Z

  • Fixed component ID

    5655R2900

Applicable component levels

  • R601 PSY UK53533

       UP10/02/10 P F002

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":"SSN27B","label":"Rational COBOL Runtime for zSeries"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0.1","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
03 March 2010