Starting from HCL Workload Automation for Z Version
8.6 SPE, you can use the LIST GENDAYS PIF request to generate run
dates from rules. You can the use the GETDATES command to find the
run dates of any individual application.
The following example shows a sample job for exporting run dates
into flat files (RUNDATES):
The RUNDATES job finds the run dates for three separate applications
across the year. You can the use these files as input in the EQQWXHTM command
to combine the run dates with calendar information.
The following example shows a sample job for presenting run dates
in a calendar (RUNCAL):
//RUN2012 EXEC EQQYXJPX,
// ARGS='YEAR(2012)',
// CMD=EQQWXHTM,
// SUBSYS=WSJC
//OUTHTML DD DISP=SHR,DSN=ADCDMST.CZ.JCL(RUN2012)
//CLSDDATE DD DISP=SHR,DSN=ADCDMST.CZ.JCL(CALDATES)
//OPREVAL DD DISP=SHR,DSN=ADCDMST.CZ.JCL(OPREVAL)
//OMONTH DD DISP=SHR,DSN=ADCDMST.CZ.JCL(OMONTH)
//OAPPLY DD DISP=SHR,DSN=ADCDMST.CZ.JCL(OAPPLY)
//SYSIN DD *
DAYS(M D W D V Z Z) TITLE(FD2 data voor 2012)
MONTHS(JANUARI FEBRUARI MAART APRIL MEI JUNI
JULI AUGUSTUS SEPTEMBER OKTOBER NOVEMBER DECEMBER)
PROCESS(CLSDDATE,OPREVAL==green,OMONTH==blue,OAPPLY==red)
HILITE(gray-yellow)
Because each application was exported into a separate file, you
can assign a different color to each application, making it easier
to spot each application that runs on specific dates in a single calendar.Figure 1. Run dates for year 2015
Have feedback?
Google Analytics is used to store comments and ratings. To provide a comment or rating for a topic, click Accept All Cookies or Allow All in Cookie Preferences in the footer of this page.