Skip to Content

Wipro Mainframe: How to Restart a Job from a Specific Step in JCL Mainframe?

Learn the correct way to restart a mainframe job from a particular step using the RESTART parameter on the JOB card in JCL. Includes code example for restarting at STEP001.

Table of Contents

Question

If a job needs to restart from step001 then what would be the correct action

A. Keep only STEP001 in JCL and delete rest all steps
B. Code job card like RESTART=STEP001
C. Code job card like RESTART=*
D. Restart job from top

Answer

B. Code job card like RESTART=STEP001

Explanation

If a job needs to be restarted from a specific step like STEP001, the correct action is to code the RESTART parameter on the JOB card in the JCL as follows:

//jobname JOB (accounting info),RESTART=stepname

For example, to restart from STEP001, you would code:

//MYJOB JOB (ACCT001),RESTART=STEP001

This tells the system to restart execution of the job beginning with the specified step (STEP001 in this case). All steps prior to the restart step will be bypassed.

The other options are incorrect:
A) Deleting all steps except STEP001 would change the JCL and likely cause errors.
C) Coding RESTART=* restarts the job from the beginning, not a specific step.
D) Restarting from the top runs the entire job from the start, not at a particular step.

Therefore, the correct way to restart a job at STEP001 is to code RESTART=STEP001 on the JOB card. This ensures execution begins at the designated step while preserving the rest of the job’s JCL.

Wipro Mainframe MySkillz Trendnxt certification exam assessment practice question and answer (Q&A) dump including multiple choice questions (MCQ) and objective type questions, with detail explanation and reference available free, helpful to pass the Wipro Mainframe MySkillz Trendnxt exam and earn Wipro Mainframe MySkillz Trendnxt certification.