Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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 ?    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 / 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 ?    4 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

How does jcl act on code(if you take a cobol program)?

0 Answers  


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

0 Answers  


How to get the last but one duplicate record of the file using Sort?

2 Answers   Fidelity,


can u execute a proc from another proc?

5 Answers   Logica CMG,


can we copy a file from fixed block to variable block and vice versa ....asap

1 Answers  






In My job I have 15 procs.and in each proc i have 3 steps. i want to execute 3 step in proc 10.is it possible? if possible how?

2 Answers   HP,


hi in one of the interview one asked me how to submit a job from cobol?as well as how to submit a jcl from CICS? can u pls any one tell me..

1 Answers   CTS,


The maximum number of in-stream procedure you can code in any JCL is ?

5 Answers  


In Job, there are 10 steps. If I want to execute the first 6 steps and don't want to execute from 7th to 10th step. What is the solution for this ?

7 Answers  


What is JCL LIB ?

3 Answers   Xansa,


One of My Job is running in production, which contains five steps?i want to pass the input to FIFTH step while running is it possible? if how?

1 Answers   CTS,


How are datasets concatenated?

3 Answers   CitiGroup,






Categories