IBM Support

JR44428: CALCULATEBUSINESSDATE NOT WORKING CORRECTLY

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • tw.system.calculateBusinessDate may return a day on a
    weekend, even it the weekend is not specified as working time
    

Local fix

  • no workaround
    

Problem summary

  • Problem Description:
    Under some circumstances the result of calculateBusinessDate
    returns a wrong date or time.
    In the customer scenario calculateBusinessDate returns a sunday,
    although the workschedule is set to "9AM-5PM M-F".
    If the timezone of the workschedule and the original date
    differs, the propability of wrong result increases.
    
    Problem Summary:
    The larger the time difference between the workschedule and the
    original date the larger is the probability of an
    incorrect business date calculation.
    e.g.
    Asia/Manila is 6 hours before Europe/Berlin.  A business date
    calculation of minus 1 hour with
    an original date of     "Fri Sep 07 2012 03:00:00" in
    Europe/Berlin
    and a workschedule of   "9AM-5PM M-F" in Asia/Manila
    should return
    a business date of      "Thu Sep 06 2012 10:00:00" in
    Europe/Berlin,
    but a business date calculation of minus 1 hour with
    an original date of     "Fri Sep 07 2012 04:00:00" in
    Europe/Berlin
    and a workschedule of   "9AM-5PM M-F" in Asia/Manila
    should return
    a business date of      "Fri Sep 07 2012 03:00:00" in
    Europe/Berlin.
    
    Problem Conclusion:
    For the calculation of the new business date, we change timezone
    of the original date to the same as the workschedule.
    During the calculation we process day difference caused by
    timezone shifts.
    We return the calculated date in the timezone of the original
    date.
    

Problem conclusion

  • Problem fixed
    iFix available on top V7511
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR44428

  • Reported component name

    BPM STANDARD

  • Reported component ID

    5725C9500

  • Reported release

    751

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-10-17

  • Closed date

    2012-11-26

  • Last modified date

    2012-11-26

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

    JR44292

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

Fix information

  • Fixed component name

    BPM STANDARD

  • Fixed component ID

    5725C9500

Applicable component levels

  • R751 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"}, "Product":{"code":"SSFTDH","label":"IBM Business Process Manager Standard"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.1","Edition":""}]

Document Information

Modified date:
26 November 2012