LIST GENDAYS – Generate dates from a rule

Note:
  1. Specifying FROMDATE or TODATE outside of the allowable range will result in error message EQQH310E being issued from EQQYCOM and an S0C9 abend.
  2. Resource GENDAYS is only valid for the LIST request starting from HCL Workload Automation for Z version 8.6 SPE, or later.
Table 1. LIST GENDAYS – Generate dates from a rule
Argument Name Description
CALENDAR The name of the calendar to use, if not specified the default calendar is used.
FDAYRULE The Free Day Rule, to determine what to do with dates that are Free Days. This is a required keyword.
  1. Move to nearest Work Day preceding
  2. Move to nearest Work Day following
  3. Keep the date on the Free Day
  4. Cancel the date and do not output it

E. Free days excluded.

FROMDATE The date from which dates are generated from the rule in the format YYMMDD.

The earliest possible value for FROMDATE is the first day of the current month four years previous to the current year. For example, on 8 February 2012 the earliest possible value for FROMDATE is 1 February 2008.

The latest possible value for FROMDATE is the 1st of January seven years after to the current year. For example, on 8 February 2012 the latest possible value for FROMDATE is 1 January 2019.

If FROMDATE is not specified, the current date is used.

FROMDATE must always be earlier than or equal to TODATE.

IAT The input arrival time in the format HHMM. It is used to determine the logical day for calendars with a Work Day End Time other than 00.00 (Default 0000).
RULEDEF The run cycle rule, using the same keywords as the Batch Loader ADRULE statement.
SCOPE Determines the scope of what dates are returned:
NORMAL
Return only run dates within the FROMDATE and TODATE limits (this is the default).
EXTENDED
Return run dates, including any that may have been shifted outside of the FROMDATE and TODATE limits due to the Free Day Rule.
ALL
Return all dates generated by the rule, including any free dates that have been moved or cancelled.
SKIPPED
Return only dates generated by the rule that landed on free days and were either moved to other dates or cancelled.
FREEDAY
Return only free days generated by the rule, including those moved or cancelled.
TODATE The date to which dates will be generated from the rule in the format YYMMDD.

The latest possible value for TODATE is 31 December of the year seven years after the current date. For example, on 8 February 2012 the latest possible value for TODATE is 31 December 2019.

If TODATE is not specified, it is set to FROMDATE +90 days.

TODATE must always be later than or equal to FROMDATE.