There are 2PROCS in a JCL. I want following conditions to
be carried out
1) 1st PROC should be executed as such
In second PROC
2) First 4steps should not be executed
3) 5th step should not be executed
4) 6th and 7th step should be executed
The change should be done only in the JCL and PROC should
be untouched ?
Answers were Sorted based on User's Feedback
Answer / cr.arulmozhi
Using a condition Parameter like this in the JCL step
executing the second PROC might solve the problem....
// cond.step1=(0,le), cond.step2=(0,le), cond.step3=
(0,le)...
but I want to know if there is any other way to do it.
Could anyone help me on the same ?
Is This Answer Correct ? | 5 Yes | 2 No |
Answer / sahana
for 1st one give COND=ONLY(it will execute 1st step if n only if second step executed)
2) COND=EVEN
3)COND=EVEN
4)COND=EVEN
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / prem...
Even IEDEDIT utility can be used and other way is restart
from the particular step and use a cond parmeter when you
want to skip any step in the job flow(0,le) and to skip the
last steps null(//) can be used.
Is This Answer Correct ? | 0 Yes | 1 No |
what are the ways of passing data to a cobol program from jcl?
How to execute a set of JCL statements from a COBOL program ?
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
Can an individual step be restricted from using all the jobs allowed cpu time?
What are the causes for S0C1, S0C4, S0C5, S0C7, S0CB abends ?
There are two steps in a JCl, the first one generates a report while the second step send an email saying the report has been generated, but the second steps should only be executed when the report file is non-empty. How can it be acheived. We may include steps in between.
why do we use file-aid wht r the adv of using file-aid thn in ispf
what modification we need to do in jcl if we use sort in cobol? I mean whether we need to include temporary file used for sorting in assign statement?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
Using DELETE what type of file can you delete? a)SEQUENTIAL FILE B)INDEXED FILE C) D) Some options were there..i cant remember
I have an job having three job steps.Suppose i want to call a pgm in step2 and aproc in step3.How to write the code?
How to pass data to a program that is coded in an exec statement?