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 |
Hi, My dataset have multiple records, say 100. I want to start copy records only after a record contain a specific value that may be in a specific position. Secondly I want to stop copying rest records if certain record contains a specific value. Can it be done using SORT/ICETOOL utilities?
For what purpose steplib and joblib are used ?
i have a jcl in which 4 & 5 step creates a new generation. 4th step output is as input for the 6th step & 5th step output is used as input in the 7th step. How they are refered as in the 6th & 7th steps? If the job abends in 6th step then how the 5th step output is refered in 7th step?
Is their any limit for data sets?
Can you delete the GDG base without deleting GDG generations ?
How can you execute a COBOL program via SYSIN in JCL?
What is the max blocksize for a Tape file?
What are the utility programs in jcl?
which parameter is used to check the syntax of a jcl without executing it?
a input file contains 1000 records, how to move the first 500 record into one out put file and how to move to second 500 records to anothere output file
i need some shortcuts and tso commands can any on ehelp me in these ?
Can we create VSAM file by using IEBGENER?