In some of the exercises in previous chapters, you set up errors in the JCL to achieve certain results, and then edited the JCL to correct those mistakes before rerunning or restarting the job.
There may be situations, however, in which you determine that even though a particular job step had an error, the job should still end OK, that is, where the error is not serious enough to require an Ended Not OK status for the job.
In such a situation, you can use the O (Force OK) option in the Active Environment screen to change a job status to Ended OK. as explained below.
Filter: M21GS ------- Control-M Active Environment ------ UP <D> - (3)
COMMAND ===> SCROLL ==> CRSR
O Name Owner Odate Jobname JobID Typ ----------- Status ------------
IDJOB1 ID 020201 M21 /26288 JOB Ended "OK"
GRPSCHD ID 020201 TBL Active - In Error
IDJOB2 ID 020201 M21 /26467 JOB Ended "OK"
O IDJOB3 ID 020201 M21 /26468 JOB Ended- Not "OK" Due to CC
IDJOB4 ID 020201 JOB Wait Schedule
IDJOB5 ID 020201 JOB Wait Schedule
IDJOB6 ID 020201 JOB Wait Schedule
*** Note ***
========= >>>>>>>>>>>>> Bottom of Jobs List <<<<<<<<<<<<< ========
This, in turn, results in the IDJOB3-ENDED-OK condition to be added to the IOA Conditions file, which in turn allows the remaining jobs (IDJOB4, IDJOB5, and IDJOB6), and the SMART Table Entity to successively end OK.
In the following screen illustration, the status of IDJOB3 has already changed, and IDJOB4 has been changed to Wait Submission.
Filter: IDGS ------- Control-M Active Environment ------ UP <D> - (3)
COMMAND ===> SCROLL ==> CRSR
O Name Owner Odate Jobname JobID Typ ----------- Status ------------
IDJOB1 ID 210101 M21 /26288 JOB Ended "OK"
GRPSCHD ID 210101 TBL Active
IDJOB2 ID 210101 M21 /26467 JOB Ended "OK"
IDJOB3 ID 210101 M21 /26468 JOB Ended "OK" Forced OK
IDJOB4 ID 210101 JOB Wait Submission
IDJOB5 ID 210101 JOB Wait Schedule
IDJOB6 ID 210101 JOB Wait Schedule
*** Note ***
========= >>>>>>>>>>>>> Bottom of Jobs List <<<<<<<<<<<<< ========
At the end of the process, the screen is displayed as follows:
Filter: IDGS ------- Control-M Active Environment ------ UP <D> - (3)
COMMAND ===> SCROLL ==> CRSR
O Name Owner Odate Jobname JobID Typ ----------- Status ------------
IDJOB1 ID 020201 M21 /26288 JOB Ended "OK"
GRPSCHD ID 020201 TBL Ended "OK"
IDJOB2 ID 020201 M21 /26694 JOB Ended "OK"
IDJOB3 ID 020201 M21 /26695 JOB Ended "OK" Forced OK
IDJOB4 ID 020201 M21 /26696 JOB Ended "OK"
IDJOB5 ID 020201 M21 /26697 JOB Ended "OK"
IDJOB6 ID 020201 M21 /26693 JOB Ended "OK"
*** Note ***
========= >>>>>>>>>>>>> Bottom of Jobs List <<<<<<<<<<<<< ========
Parent Topic |