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 |
Name some of the JCL statements that are not allowed in procs.?
What is the motivation behind coding class parameter in job statement?
What are the common jcl syntax errors you get? This is not abends?
How to ALTER the name of a GDG ?
IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C
//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*
Explain the function of job statement in jcl?
My requirement is : How to populate a empty PS/flat file with ONLY spaces in the first line. You should not use any input dataset to do this. I'm not sure whether you may use any utility for this purpose?
Max generations in GDG??
How to empty the records in jcl
There is one QSAM is the VB file. i want to get the first characters in this file and change those characters from'abcd' to '1234' and creat a vasm file to put '1234' in it. how to do in only JCL. if it not QSAM, it's VASM and VB. how to do it.
How do you designate a comment in JCL?