![]() |
Monitoring Enter Jobs not started by CFS
The CFS Job Report System enables Jobs to be monitored which were not started with a CFS E command. The following three conditions must be fulfilled for the monitoring by CFS to take place:
1) The Enter jobs to be monitored must have been started with a Monitor Job variable. The name of the Monitor Job variable must be in the following format: CFS.JR.jrid.xxxx . jrid is the Job Report ID under which the job should be monitored. xxxx is a user-defined name.
2) Before starting CFS, the user must have created a Job variable with the name CFS.JR.jrid.JRINIT. jrid is the Job Report ID under which the Enter job should be monitored.
3) After the Enter job has been started successfully, column 1 and 2 of the CFS.JR.jrid.JRINIT Job variable must contain the value '$T', set either during execution of the job, or from within the job. Optionally, a '#' can be entered in column 129, and the name of the Monitor Job variable associated with the Enter job (to a length of 54 bytes) can be entered from column 131.
Monitoring the Enter job occurs as follows:
After an Enter job has been started, and the associated Monitor Job variable created, the CFS.JR.jrid.JRINIT is set the the value '$T' . CFS, which is monitoring this Job Report ID, then causes the Job Report System to set a JR command internally. All new Job variables with the format CFS.JR.jrid.xxxx will be monitored. If the name of a Monjv was entered in the JRINIT Job variable, then the internal JR command will be targeted specifically at this Monjv.