Overriding Workload Automation Programming Language defaults

You can change the Workload Automation Programming Language defaults for many elements by setting the OPTIONS statement.

If you want to set different values as default, create entries in your own site default member and store it in one of your libraries, then reference it in the EQQOPTS statement within the EQQYXJPX and EQQYXJPL procedures. By default, the EQQOPTS statement is provided commented out, so nothing is read.

Any statements defined in the EQQOPTS statement are run every time Workload Automation Programming Language starts, before the ARGS statement is processed and before any SYSIN or REXX stack commands are run.

You can also create subsystem-specific OPTIONS by using IF statements and the ZSUBSYS variable.

Including a site default member in EQQOPTS means that it is run every time Workload Automation Programming Language starts. To prevent unnecessary storage consumption, include only the statements that are actually required every time Workload Automation Programming Language runs. In alternative to creating a site default member, you can create members that set site defaults and variables for key types of functions. Then INCLUDE only the Workload Automation Programming Language jobs that need those setup instructions. For example, create an include member called TRACKERS as follows:
OPTIONS TRACKERS(WSMC.*.WSMT)
Then, include the TRACKERS member in any job that issues TSO commands:
INCLUDE MYWAPL(TRACKERS)
SRSTAT 'MY.RESOURCE' AVAIL(Y)