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
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 |
Answer / prakash
Use IEBEDIT utility and select the required step alone for
execution
Is This Answer Correct ? | 4 Yes | 1 No |
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 |
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 |
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 |
What is the significance of addrspc parameter in the exec statement?
if we give TIME=0 how many sec that job/step
how to count the number of members in pds?
i have 6 steps in my jcl program after going to 5th step i want to execute 3rd step.....how can i do it....by using(RESTART) can i do it or not?
what is the resolution for sb37 error
What is STEPLIB, JOBLIB? What is it used for?
how to identify a vasam dataset by seeing in 3.4(browse)
What is the difference between catalogue procedure and In-Stream procedure?
suppose i have job it contains 10 steps after exicution of job failuer at 3 and 7 th steps i want exicute step 3 and step 7 only how we specify condition ?
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you
How to find the length of variable length copybook using fileaid ??
what is alternate index?