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?

Answers were Sorted based on User's Feedback



We have 100 steps in a procedure and we need to run the jcl and execute only 25th step in the proc..

Answer / 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

We have 100 steps in a procedure and we need to run the jcl and execute only 25th step in the proc..

Answer / prakash

Use IEBEDIT utility and select the required step alone for
execution

Is This Answer Correct ?    4 Yes 1 No

We have 100 steps in a procedure and we need to run the jcl and execute only 25th step in the proc..

Answer / vikas bhardwaj

//QV1P01TV JOB ABCB......
//STP EXEC PGM=IEBEDIT
//SYSPRINT DD SYSOUT = *
//SYSUT1 DD DSN=.......
//SYSUT2 DD DSN=.......
//SYSIN DD *
EDIT TYPE=INCLUDE,STEPNAME=(STEP25)
/*

Is This Answer Correct ?    5 Yes 2 No

We have 100 steps in a procedure and we need to run the jcl and execute only 25th step in the proc..

Answer / indrani

We can copy the PROC into personal library and edit the
proc and put a null card post 25th step. Then make the JCL
use your personal library as the proc and only 25th step
will run and the rest of all steps will be bypassed.

I would recommend this to be the best answer.

Is This Answer Correct ?    3 Yes 1 No

We have 100 steps in a procedure and we need to run the jcl and execute only 25th step in the proc..

Answer / varmak

@ Indrani

In case if we are anyways editing the proc, we can copy
only step25 into local jcl pds & execute... why copy
entire proc..?

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More JCL Interview Questions

Explain concatenating datasets?

2 Answers   CTS,


What is timing concept in mainframe?

0 Answers  


THERE IS ONE STEP AS BELOW: //STEPJS060 EXEC PGM=XYX, COND=((200,EQ,JS010),(0,NE,JS020.C),EVEN) COULD ANY ONE EXPLAIN HOW COND PARAMETER WORKS HERE? I AM CONFUSED BECOZ OF "EVEN".

2 Answers  


How do you overcome this limitation ?

0 Answers  


How to run cobol program using jcl?

0 Answers  


If i am going to change some variable in a copybook( size or variable type) ,what are the changes that need to be done in the corresponding JCL.

4 Answers   IBM,


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

0 Answers  


What is the function of dd disp parameter?

0 Answers  


GDGs can be CREATED (not COPIED) only on DASD and NOT on tape drives ? Is it True ?

2 Answers   ABC, IBM,


How to empty the records in jcl

1 Answers  


How do you submit a JCL under CICS environment ?

1 Answers   IBM,


WHAT WILL HAPPEN TO A FILE IF DISP=(MOD,DELETE,DELETE)

8 Answers   ADP,


Categories