Learn the correct JCL coding syntax to restart an IBM mainframe job from a particular step within a procedure using the RESTART parameter on the JOB statement.
Table of Contents
Question
IF a job is to be restarted from a particular step with in a procedure than which is to be coded in Job card
A. RESTART=PROCNAME.STEPNAME
B. RESTART=STEPNAME.PROCNAME
C. RESTART=STEPNAME
D. NONE OF THESE
Answer
To restart a mainframe job from a specific step within a procedure, you need to code the following on the JOB statement in the job’s JCL:
A. RESTART=PROCNAME.STEPNAME
Explanation
Where:
PROCNAME is the name of the procedure that contains the step
STEPNAME is the name of the step within the procedure that you want to restart the job from
For example, if you have a procedure named PAYROLL that contains a step named TAXES, and you want to restart a job from the TAXES step, you would code:
RESTART=PAYROLL.TAXES
The other options provided are incorrect:
B. RESTART=STEPNAME.PROCNAME has the procedure and step names in the wrong order
C. RESTART=STEPNAME is missing the procedure name, which is required
D. “None of these” is incorrect since option A is the correct syntax
So in summary, to restart a job from a particular step within a JCL procedure, you must specify both the procedure name and step name separated by a period, in that order, on the RESTART parameter of the JOB statement. This is the proper way to tell the system where to restart the job from.
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.