Controlling the system where a z/OS job is to be executed
- Workstation availability, such as workstation-open intervals, parallel servers, workstation resources R1 and R2.
- The estimated duration of the job, if you set JTOPTS SHUTDOWNPOLICY.
However, the system where the job is submitted does not always coincide with the system where the job will be executed. JES could decide to execute the job to another system, where the required resources are available. As a consequence, the checks made by the controller on the system where the job is submitted do not guarantee that the same conditions are found in the system where the job will be executed.
JTOPTS WSSYSAFF(wsname:system.destination)
Based
on this setting, the following occurs:- A SYSAFF parameter is added to the job card at submission time. If a SYSAFF parameter was already set, it is overwritten with this value.
- The SYSTEM parameter of the job card, if any, is deleted.
You can specify more than one couple system.destination
for a single
wsname
, provided that those systems belong to the same SYSPLEX. The
destination
you specify is used to perform availability checks on the
workstation.
- SYSA
- SYSB
- SYSC
- SYSD
- Destination XCFA, associated with system SYSA
- Destination XCFB, associated with system SYSB
- Destination XCFC, associated with system SYSC
- Destination XCFD, associated with system SYSD
- VIRH, which is associated with destinations XCFA and XCFB (high performance)
- VIRL, which is associated with destinations XCFC and XCFD (lower performance)
JTOPTS WSSYSAFF(VIRH:SYSA.XCFA, SYSB.XCFB)
(VIRL:SYSC.XCFC, SYSD.XCFD)
You might also want to force the CLASS parameter of the job card, so that you can control the
execution of that category of jobs. To do so, set JTOPTS WSCLASS(wsname)
by
specifying the workstation or workstations whose jobs you want to consider. The value that is
applied to the CLASS parameter of the job card will be the CLASS value that is set for the job in
the current plan. If no JOB CLASS or SYSOUT CLASS is specified in the CP, no CLASS forcing is
performed.
JTOPTS WSCLASS(CPU1,VIRT)
the CLASS parameter of the job card is added or modified for all the jobs running on workstations CPU1 and VIRT, provided that those jobs are assigned a JOB CLASS or SYSOUT CLASS in the current plan.
For details about JTOPTS, see Customization and Tuning.