How do you restart a step in JCL?

Answer Posted / rammurthy

Without Procs.
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=...

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is DSN parameter and DISP parameter is used for?

664


How to execute 2nd and 4th steps among 5 steps in jcl proc?

742


I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one

1917


How is a type of file defined in the jcl that executes the cobol program?

701


If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?

773






What are the parameter we cannot use in procedure?

629


What is the purpose of dd dummy statement?

935


Explain how can values be passed from the job stream to an executable program?

606


How can values be passed from the job stream to an executable program?

864


what is use of disp parameter in dd statement?

650


Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?

712


which parameter is used to check the syntax of a jcl without executing it?

791


What are steplib and joblib? What for they are used?

679


Does jcl support automatic restart?

743


what is the use of JCL?

655