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 |
When a dataset is UNCATALOGED in a JOBSTEP, how to get its UNIT and VOL in JCL to refer in subsequent steps ?
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?
What is the function of a dd statement?
Why we us SYSTSIN DD with IKJEFT01 (TSO Utility) to execute a COBOL DB2 program? Why can't we use SYSIN DD?
What is the difference between a PDS member and a GDG Generation ? Is it only this, that with a generation we can use +1, 0, -1 etc while with PDS member we can not ?
what is a cataloged procedure ?
How to compare 2 files using File-Aid?
How can values be passed from the job stream to an executable program?
What is model dataset label(Model DSCB)?
Explain how can the disposition of sysout datasets be set for an entire jobstream?
I have Job A and Job B. I want to trigger Job B from Job A. Please advise.
What are the 4 fields in dd statement?