Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Reference to jobs in the MSCF network

&pagelevel(5)&pagelevel

Once a job is passed to a processor in the MSCF network, a task sequence number (TSN) is assigned to that job on the destination processor. The TSN is only valid on the destination processor, i.e. the job can only be addressed there via the TSN. The started job can be addressed from another processor via a monitoring job variable (MONJV), provided that the product JV is loaded and the job is assigned an MONJV whose name is unique throughout the network (via the ENTER-JOB / ENTER-PROCEDURE command or the ENTER
macro). This makes it possible to start the commands SHOW-JOB-STATUS, CHANGE-TASK-PRIORITY, CANCEL-JOB and FORCE-JOB-CANCEL for the job that is identifiable via the MONJV on any processor in the network. Defined values which are entered in the MONJV at certain times during the job processing also provide information about the current processing status of the job to which it is assigned (see "Job and program monitoring").
Batch jobs can also be addressed in the said commands via the tuple TSN and host name (see the "Commands" manual [10 (Related publications)]).

Example

JOB-A, JOB-B and JOB-C are routed to different systems in an MSCF network. The requirement is to be able to access the jobs from the initiating system so as to be able to query statuses, modify job priorities and enable a job to be aborted.
The following ENTER file exists:

/SET-LOGON-PARAMETERS
/ENTER-JOB FROM-FILE=JOB-A,MONJV=ID.JOB.A,HOST=C'PROCESSOR1' ——————————  (1) 
/ENTER-JOB FROM-FILE=JOB-B,MONJV=ID.JOB.B,HOST=C'PROCESSOR2'
/ENTER-JOB FROM-FILE=JOB-C,MONJV=ID.JOB.C,HOST=C'PROCESSOR3'
/SHOW-JOB-STATUS JOB-IDENTIFICATION=MONJV(MONJV=ID.JOB.A) —————————————  (2) 
/CHANGE-TASK-PRIORITY JOB-ID=MONJV(MONJV=ID.JOB.B),RUN-PRIORITY=200 ———  (3) 
/CANCEL-JOB JOB-IDENTIFICATION=MONJV(MONJV=ID.JOB.C) ——————————————————  (4) 
/EXIT-JOB

(1)

JOB-A, JOB-B and JOB-C are distributed to different processors (PROCESSOR1, PROCESSOR2 and PROCESSOR3). Their processing status is monitored by the specified monitoring job variables (MONJV operand).

(2)

The processing status of JOB-A is queried.

(3)

The processing priority for JOB-B is set to 200.

(4)

Processing of JOB-C is aborted.