How to use CA Workload Automation calendar and holiday information in other software applications?

Document ID : KB000011031
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

How to use CA Workload Automation calendar and holiday information in other software applications?

Environment:
CA Workload Automation 11.3 - r12
Answer:

The CA Workload Automation (formerly dSeries) can maintain several calendar and holiday schedules. Each event in CA Workload Automation can use different calendar.

Setting up a custom calendar and holiday schedule is very easy. Once a custom calendar has been setup, this information can be used by other applications and software to standardize across an organization.

To extract the calendar information, use the imexutil utility to export the artifact.

imexutil.sh -h HOSTNAME -p 7500 -u SCHEDMASTER -w SCHEDMASTER -c "exportcalendar-outdir /tmp/calendar"
or
imexutil.bat -h HOSTNAME -p 7500 -u SCHEDMASTER -w SCHEDMASTER -c "exportcalendar-outdir c:\temp\calendar"

The exported calendar is in XML format and have all the holidays and special days information associated with it.