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

Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed

2290


When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?

1164


What is Cataloged Procedures?

905


What is the difference between run mode and addressing mode?

882


What is jcl in mainframe?

961


Explain the function of dd disp parameter?

820


Is their any set of rules for dd? Explain.

874


Explain how can a stopped job be started again?

882


how you can direct the data to spool using SYSOUT option?

1188


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?

1022


in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?

2444


What is the significance of addrspc parameter in the exec statement?

845


what is the compile process of cobol program expalin with code

2329


what is SOC4 error?

961


What are the parameter we cannot use in procedure?

838