We have 100 steps in a procedure and we need to run the jcl
and execute only 25th step in the proc and not the
remaining steps. How can we do it?

Answer Posted / manjunath s h

use restart parameter, restart = procstep.stepname
procstep: the step of the jcl which is invoking the proc.
stepname: the step in proc where u want the execution to
start.

use null statement after the 25th step in the proc.
or
override the cond parameter of 26th step as cond=(0,LE).

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When space is allocated for an output dataset, what units can be used?

735


What is the motivation behind coding class parameter in job statement?

672


what is DSN parameter and DISP parameter is used for?

663


What does a disposition of (MOD,DELETE,DELETE) mean ?

655


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

712






what is the compile process of cobol program expalin with code

1993


what is the purpose of coding class parameter in job statement?

706


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

679


What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?

662


What are the difference between jcl and jes?

1036


List in order the hierarchical levels of jcl?

660


What are s0c1, s0c4, s0c5, s0c7 and socb?

691


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

699


in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?

810


what is SOC4 error?

728