Process control

The EQQWXPER program is controlled by keywords either in the ARGS symbolic for the EQQYXJPX procedure, or within SYSIN. If the same keywords are entered in both, the ARGS values overrides the SYSIN value.

Each keyword has the value specified within parenthesis and separated from the next keyword by a space.

You can use the following keywords:
DATEVAR
The name of the HCL Workload Automation for Z supplied date variable that provides the input date to set the appropriate week number variable. You can use one of the following variable names:
  • ODMY1
  • ODMY2
  • OYMD1
  • OYMD2
  • OYYDDD
  • OLYMD
  • OLYYDDD
  • CDDMMYY
  • CYYDDD
  • CYYMMDD
MAXWEEK
The highest week variable to guarantee the existence of. The default value is 6.
MONTH
Whether to create unique tables for each month (YES or NO). The default value is YES, meaning that the table names are derived from the TABLE keyword suffixed with the year and month (for example,MONTHVARS0912 for December 2009).
OWNER
The OWNER to set for the table. This value is needed to create new table instances, because OWNER is a required value for an HCL Workload Automation for Z JCL Variable table.
PERIOD
The name of the period for which to calculate week numbers.
TABLE
The name of the table to be created or updated. If MONTH is set to NO, the TABLE will contain the absolute table name; if it is set to YES it will be the prefix of the tables created for each month.
UPDATE
Whether to perform updates to the database (YES or NO). If set to NO (this is the default), the process generates the Batch Loader for you to review, without applying it.
VARPFX
The prefix to use for the variables created by this process. The default is WKNUM.

For each week being generated, the variable is suffixed by the two character week number, for example WKNUM01, WKNUM02, and so on.