You can restart JCL jobs with the
Micro Focus Batch Scheduler Integration
mfbsijcl command using either the original or modified JCL.
- Original JCL
- The following example shows the restart of a job using the
mfbsijcl command and the original JCL, with some sample standard options for
/jrestart:
mfbsijcl /jrestart:1234567#fSTEP2:PSTEP(1)
- Modified JCL
- To restart a job with modified JCL using the
mfbsijcl command, use the following syntax:
mfbsijcl {/j<modified-JCL-file> | <basejcl>} /jrestart:<standard-parms>
where:
- modified-JCL-file
- The full or relative path to and filename of the modified JCL file.
- basejcl
- The JCL base that is resolved using JCL-Submit and JCL-Exit found in the
mfbsi.cfg file.
- standard-parms
- Any valid parameters for the
/jrestart option as documented elsewhere in this topic.
For example:
mfbsijcl /jC:\Temp\modified.jcl /jrestart:1234567#fSTEP2:PSTEP(1)
mfbsijcl /j/tmp/modified.jcl /jrestart:1234567#fSTEP2:PSTEP(1)
mfbsijcl basejcl /jrestart:1234567#fSTEP2:PSTEP(1)
When restarting a job using modified JCL:
- A new job number is assigned to the job.
- The JESYSMSG and associated
MFELX*.dat file of the initial JOB number (specified in
/jrestart:nnnnnnn) must be available.
Notes:
- You can substitute a dash character (-) as an alternative to the forward slash (/).
- Most parameters are case sensitive. For example, step and procstep names must be specified in upper cases.
- Most errors related to Advanced Restart are returned with the
OS Rc 220 code.
- If you need to re-execute the
mfbsijcl substitution phase (standard or Control-M), use the modified JCL syntax even no change has been made to the JCL itself.
For complete information on advanced restart functionality, see the
Advanced Restart Functionality topic.