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

How to run cobol program using jcl?

952


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

939


What parameter of the job statement is used to limit the cpu time consumed by the job?

1066


what is DSN in JCL and what are the parameters to declare the DSN?

997


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

973


Why include statement is used in a jcl?

934


How to pass the parameter in parm using linkage section ? (syntax)?

892


How jcl work to handle various input output file operations?

917


What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?

2048


Explain the function of //jcllib statement?

972


How can a stopped job be started again?

950


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

1024


What is the syntax of JCL statement?

958


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

936


We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

2028