Suppose I have Five Steps in PROC In this Case I want to
Execute third Step in PROC using Main JCL don't use any COND
Explain with Coding Thanks & Regards
SHREE
Answers were Sorted based on User's Feedback
Answer / ram.g
you can use iebedit utility
eg:
//xxxxx job ( ) .....
//step001 exec pgm=iebedit
//sysprint dd sysout=*
//sysut1 dd dsn= your.dsname,disp=shr
//sysut2 dd sysout=(*,intrdr)
//sysin dd *
edit type =include,stepname=your stepname
/*
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / sravanthi
Yeah, We can give RESTART=PROCNAME.STEPNAME the job card of
the main jcl. And inorder that no other steps run after the
3rd step, specify //(null statement) in the JCL to stop the
execution of other steps in the PROC
| Is This Answer Correct ? | 7 Yes | 5 No |
Answer / udhay
We can give RESTART=PROCNAME.STEPNAME the job card of the
main jcl
| Is This Answer Correct ? | 4 Yes | 4 No |
Answer / guest
Thru CA7 we can restart the job from the step wherever you
want.First RUNH,JOB=JOBNAME after that XQ,JOB=JOBNAME Give
F in front of the job in the left side after that mention
the step name and put X in front of that left side and hit
enter.
| Is This Answer Correct ? | 0 Yes | 3 No |
If there are five steps in a JCL i have to execute the 3rd step, bypass the 4th step and execute the 5th step how do i do this?
13 Answers Cognizant, Convergys, IBM, TCS, Wipro,
a jcl has 2 steps. How to code the jcl such that if step1 abends, then step2 runs. Else, job terminates with step1?
//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 /*
I have GDG defined e.g. GDG.smaplegdg.base, after processing the GDG. it contains some records and which is input to the second step2. How can I use GDG to use it as input file at step2.
IF we are calling a PROC from Jcl...This Proc have 3 steps in it and we want to execute only the second step using the JCL, How to do it?? Please give the answer ASAP:)
How to execute step2,step1, step3 if step1,2,3 are in order
in job stmt i coded time=(2,30) and in step 1 i coded time=(1,30) and in step i coded time=(1,30), whch one executes first and what happens if step1 and step2 time executes and wht about the remaining time if step and step2 executes
What is a COND parameter in JCL?
What is the difference between primary and secondary allocations for a dataset?
1)what is compilation jcl for cobol program but it is calling another program 2)what is compilation jcl for cobol program but it is calling another program(in this, main program is pure cobol but sub program is cobol+db2 program.can anyone please answer me for above questions. it's very urgent
Can we use DISP=SHR in output file in JCL
What do you understand by the terms: joblib and steplib?