The SEQQWAPL library has DATE members containing public
holidays for some countries; you can use them to create variables
containing dates for public holidays. For countries without DATE members,
use VARDATE to create your own rules for public holidays.
The following example shows a sample job for creating public holidays
in the calendar for the forthcoming year (CALNL).
You can then export the calendar dates into a flat file by running
a job similar to the following:
The flat file will contain all the dates contained within the calendar,
for as many years as the calendar covers. You can use it with the
EQQWXHTM WAPLEXEC to extract specific years and produce the HTML versions.
Because the input file contains dates for 2 years, you can run 2 steps
which can each concentrate on an individual year by use of the YEAR keyword.
The following example shows a sample job for exporting calendar
dates into a flat file (CALUNLD).
You can then send the output file to review the dates for the forthcoming
year, or simply use it as a reference to view the free days.