How does CA Workload Automation AE resolve the timezone entry for scheduling jobs?

Document ID : KB000011325
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

CA Workload Automation AE allows scheduling of jobs based on a time zone other than the one where the Scheduler runs. This document describes the steps Scheduler and Application Server use to resolve the correct time zone value.

Question:

How does CA Workload Automation AE resolve the timezone entry for scheduling jobs?

Environment:
CA Workload Automation AE 11.3.5 and 11.3.6 (all supported Service Pack levels).
Answer:

 

CA WAAE Scheduler and Application Server hold timezone definitions in memory (cache) after they are read for the first time after startup. It does this by design for performance reasons as that prevents the Scheduler and Application Server from performing a database lookup every time it has to resolve a timezone.

The following steps are taken by the Scheduler to arrive at the appropriate value for the timezone specification in the job definition:

  1. Check for the time zone in locally maintained cache (whenever the Scheduler and/or Application Server restarts, the cache gets cleared off).
  2. If the time zone is not found in the cache then check operating system time zones list for a match (If found add this new time zone to the cache).
    • If there's no time zone library on this platform, there's nothing to search; skip to step 3.
    • Only in UNIX/Linux it will search the System's zoneinfo database (also known as tz database) for a matching time zone specification.
  3. If the time zone is not found in the operating system zoneinfo database then check in the 'ujo_timezones' table in the AutoSys database. (If found add this new time zone to the cache.)
  4. If the time zone is not found in the 'ujo_timezones' table then check for a valid 'TZ' environmental variable string against posix standards. (If valid add this new time zone to the cache.)
  5. If unable find it in any of the aforementioned locations, indicate an error condition.
Additional Information:

The timezone job (JIL) attribute