The PJ command
Use the PJ command to list the ATAM job preference definitions. With job preferencing, you can direct a job to a specific set of devices, either through excluding or including devices.
There are four job preference processing options (types):
- PREF
- The job defined as the preference uses these devices first, but considers all eligible devices if the preferred devices are unavailable.
- REQ
- The job defined as the preference requires these devices. It will not run on devices not identified in this preference.
- EXCL
- The job defined as the preference is excluded from using these devices. It will use any other devices not specified in this exclusion preference.
- OWNS
- Only the job defined as the preference can use these devices.
They are excluded from all other requestors. The job will not run
on any other devicesNote: This option effectively removes the identified devices from availability and isolates their use to only this job and other job preferences of this type which include these devices. Use with care.
Job preference processing increases the overhead of ATAM allocation device selection and potentially reduces the availability of tape device resources to the non-preference tape jobs. Please consider these concerns and weigh them in your choice to use this facility.
The syntax of the PJ command and the parameters are described in the table below.
| Item | Description |
|---|---|
| Syntax | PJ[=jobname|,E][,N={sysid | *}] |
| Parameters | PJ This command, without any parameters, displays all of the jobs currently defined in the job preference table. This command displays a specific entry in the job preference table. This command displays all job preference entries that identify exclusive-use (owner) preferences. Specifying a System ID (sysid) with the "N" parameter indicates that the command is to be sent to the specified System ID as defined in ATAM's configuration data set. Use an asterisk (*) with the "N" parameter to send the command to all defined systems. |
A few examples show how to use the parameters with the PJ command. Select from the examples below: