Running the command

In addition to normal Workload Automation Programming Language JCL requirements, EQQWXHTM needs the following DD statements allocated.

Table 1. DD statements for EQQWXHTM
DD Name Purpose Attributes
<output> The information output from the command is written to the file specified in the FILE keyword. The default is OUTHTML. Can be an output data set or SYSOUT. Typically FB 80.
Note: The maximum record length is the length of the longest individual piece of text in an input file, plus 7 bytes to account for the appending of .&nbsp;
<input> Input files are specified in the PROCESS keyword. HTML can process more than one input file in a single run. Each record must begin with a date and can optionally contain explanatory text for that date in the following format:
YYMMDD,explanatory
text

Individual dates can be tagged with specific colors, for example 121225,Christmas Day==green-red

Can be an input data set or SYSIN. Typically FB 80.
Note:
  1. The length of explanatory text has a bearing on the record length for the output file (see above).
  2. You cannot use quotes in the explanatory text.

The JCL for running the command must specify EQQWXHTM as the command in the CMD symbolic parameter.

The following example shows how to produce a calendar with regular free days, date based free days, and run dates. Though shown as SYSIN in this example, they would more likely be output files from other Workload Automation Programming Language jobs (HTMLXMPL).

//RUNWAPL  EXEC EQQYXJPX, 
//         CMD=EQQWXHTM,
//         SUBSYS=WSJC 
//OUTHTML  DD DISP=SHR,DSN=MYUSER.CAL.HTML
//SYSIN    DD * 
TITLE(Calendar for 2012) DAYS(M D W D V Z Z) 
MONTHS(JANUARI FEBRUARI MAART APRIL MEI JUNI 
       JULI AUGUSTUS SEPTEMBER OKTOBER NOVEMBER DECEMBER) 
PROCESS(HOLS,RUNDATES==green-white) 
HILITE(gray-yellow) 
//HOLS     DD * 
120406,Goede Vrijdag 
120409,Tweede Passdag 
120430,Koninginnedag 
120517,Hemelvaart 
120728,Tweede Pinksterdag 
121225,Eerste Kerstdag==green-red 
121226,Tweede Kerstdag==green-red
//RUNDATES DD * 
120124,Run 1 
120226,Run 2 
120331,Run 3 
120501,Run 4 
120728,Run 5 
121006,Run 6