How do you restart a step in JCL?

Answer Posted / suputhru

Use RESTART=step name.

for procs:
restart = jclstepname.procstepname
jclstepname:name of the jcl step which invoke the proc.
Procstepname : the prostep which you want to restart.
eg :jcl
if we need to restart from step2 in the proc...

//job1 job restart=s1.step2
//s1 exec proc1
....

proc:
//proc1 proc
//step1 exec=...
//step2 exec=... -----Here we are going to execute step2
//step3 exec=...

--- Hi SV, you given a awesome answer. keep it up.
-Sk.

Is This Answer Correct ?    24 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how would you create a temporary dataset? And where will you use them?

760


Explain dd statement in jcl?

635


Define concatenating?

656


Explain the function of //cntl statement?

647


What is the purpose of disp parameter?

635






I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?

705


What parameter directs the output of the job log dataset?

761


How do you create a temporary dataset?

656


In sms datasets, what is the function of the dd mgmtclas keyword?

853


How gdg are concatenated?

664


define cond parameter in jcl?

767


how do you code a null statement?

768


How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?

667


What is condition checking in jcl? Is this possible?

619


Give the syntax of job specifying jcl statement.

630