When Control-M/Restart is available, and the job scheduling definition of a job whose execution fails contains a DO IFRERUN statement, the job can be restarted.
Manual intervention is required for the job restart in the following cases:
To manually request rerun and/or restart for such a job, enter option R (Rerun) for the job.
The following confirmation window is opened when either option R (Rerun) or option C (Confirm) is entered in the Active Environment screen for a job requiring rerun and/or restart under Control-M/Restart.
Figure 56 §Restart§ Active Environment Rerun and/or Restart Confirmation Window
Filter: ------- CONTROL-M Active Environment ------ DOWN <D> - (3)
COMMAND ===> SCROLL ==> CRSR
O Name Owner Odate Jobname JobID Typ ----------- Status ------------
DAILYPRD PRODMNGR 110405 JOB Wait Schedule
DAILYSYS SYSTEM 110405 +---------------------------------(3.R)+
IOALDNRS PRODMNGR 110405 | Job IEFBR14 Is to be Rerun |
IOACLCND PRODMNGR 110405 | Please Confirm (Y/N) |
R IEFBR14 K39 110405 | With Restart N (?/Y/N) | o CC
| ---------------------------------- |
| Verify JCL N (Y/N) |
IEFBR14 N98A 110405 | Rerun if fails N (Y/N) |
IEFBR14 K39 110405 | ---------------------------------- |
IEFBR14 K39A 110405 | From Step/Proc . |
IEFBR14 K39A 110405 | To Step/Proc . |
========= >>>>>>>>>>>>> | Recapture Abend Codes (Y/N/R) | < ========
| Recapture Cond Codes (Y/N/R) |
| Step Adjustment (Y/N) |
| ---------------------------------- |
| Flow Rerun |
| (Type 'R' to change options) |
| Forward Flow |
| Backward Flow |
| View Jobs in Flow |
| ---------------------------------- |
Opt: ? Why L Log H Hold Z Z| Restart Parm Member Name IEFBR14 | ys. E JVer
N Net D Del F Free S S+--------------------------------------+ m 08.36.28
Fill in the fields of the window as follows, and press Enter:
Table 75 §Restart§ Fields of the Active Environment Rerun and/or Restart Confirmation Window
Field |
Description |
---|---|
Confirm |
Valid values are:
|
With Restart |
This field is applicable only if Y is entered for Confirm. If N is entered for Confirm, this field is ignored. Valid values are:
|
Verify JCL |
Whether to perform the JCL verification before the rerun. Valid values are:
|
Rerun if fails |
When the verification fails, whether to continue and perform the rerun or to stop the rerun process. Valid values are:
|
From Step/Proc |
The pgmstep (and optionally procstep) names at which the restart of the job is to be attempted. |
To Step/Proc |
The pgmstep (and optionally procstep) names at which the restarted job terminates processing. Optional. The From Step/Proc and To Step/Proc fields display from and to step values specified in the DO IFRERUN statement. These values may be modified. If a From Step/Proc value is specified, and the To Step/Proc field is blank, the job is rerun up to and including the last step. |
Recapture Abend Codes |
Whether to enable abend code recapture. This field is applicable only if Y is entered for WITH RESTART. (If N is entered for WITH RESTART, this field is ignored.) Valid values are:
|
Note: If ordering a restart of a job from a step after an abended step, type N in this field. If not, only steps that specify the JCL parameters COND=ONLY or COND=EVEN run during restart. |
|
Recapture Cond Codes |
This field is applicable only if Y is entered for With Restart. (If N is entered for With Restart, this field is ignored.) Valid values are:
|
Step Adjustment |
This field is applicable only if Y is entered for With Restart. (If N is entered for With Restart, this field is ignored.) Valid values are:
|
Note: Values specified for Recapture Abend Codes, Recapture Cond Codes and Step Adjustment override all other parameter specifications and the default. They apply to the current restart only. |
|
Flow Rerun |
Whether to open the Flow Rerun Options window. Type R in this field to open the window. |
Forward Flow |
This is a display only field that indicates whether to enable the restart of a successive series of jobs, beginning with the selected job:
|
Backward Flow |
This is a display only field that indicates whether to enable the restart of a preceding series of jobs, ending with the selected job:
|
View Jobs in Flow |
This is a display only field that indicates whether to generate a Rerun Flow Job List. This list enables the user to select specific jobs (or SMART Table Entity) in the selected flow or flows to be restarted. For more information, see Rerun Flow Job List Window.
If the job is a SMART Table Entity, and Y was not specified in either the Forward Flow or Backward Flow fields, the generated list contains the jobs in the SMART Table. (If Y was not specified in either of the fields, and the job is not a SMART Table Entity, then this value is ignored and no list is displayed.) |
Restart Parm Member Name |
Name of the member that contains control parameters for the job restart. The specified value must be a valid member name of 1 through 8 characters. The default value, displayed in the window, is the member that contains the JCL of the job. This member is either the value in the MEMNAME field of the Zoom screen, or the NAME field of the Active Environment screen. |
Note the following points about From Step/Proc and To Step/Proc values:
Note: AutoEdit resolution is performed at time of cleanup job submission. For example, if a job with AutoEdit date variable %%DATE is submitted for cleanup the day after the original run, the resolution of the variable during cleanup varies from that of the original run.
The RERUN request and, in Control-M/Restart, the RESTART decision are recorded in the IOA Log file. If the Control-M monitor is active, the RERUN request is accepted after a few seconds.
Parent Topic |