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 |
Matching Logic in Jcl not in cobol.Could any one please answer this question
Explain about LMFREE�free data set from its association with data ID
if we are specifing joblib as well as steplib in job then at the time of execution how the process will complete
The maximum number of in-stream procedure you can code in any JCL is ?
Is there any command to check wether the ps file is in sorted order?
What is jcl in mainframe?
For how long a job can be executed continuously in a mainframe ?
In which table PLAN is registered in ?
If the COND parameter is specified in both the JOB and EXEC statements, which one will take precedence? If JOB takes priority and if all the conditions evaluate to false, then will the conditions on the EXEC step be evaluated next?
Can we use two or more SYSPUNCH DD statements in a JCL for multiple unload (SYSREC00 & SYSREC01)..?
A statement about PROCs is " In PROCs, Symbolic Parameters can be assigned on PROC and EXEC", BUT On which EXEC, (i) On the JCL's EXEC which is calling to PROC1. (Inside JCL, EXEC PROC1) (ii) or On the PROC's EXEC where it calls the PGM1. (Inside PROC, EXEC PGM=PGM1)
Are all (i), (ii), (iii), (iv) of the below are VALID to reference a temporary dataset ? STEP2 DD1 DD DSN = &&TEMP STEP3 DD2 DD (i) DSN = TEMP (ii) DSN = *.TEMP (iii) DSN = *.STEP1.DD1 (iv) DSN = *.STEP1.DD1.ONE