IF WE GIVE COND on step3 then, What does the following mean ?
And Just adding to that, All the below COND are VALID as per
the specifications.
(i) COND = (8,LT,step1,step2) ---(AND/OR ?)
(ii) COND = (8,LT,step1,step2, ONLY),
(iii) COND = (8,LT,step1,ONLY) will it execute only if this
condition is true or only if step1 ABENDS ?
(iv) COND = (8,LT,step1,step2,EVEN),
(v) COND = (8,LT,step1,EVEN) ?
Answers were Sorted based on User's Feedback
All the above COND are INVALID as per
the specifications.
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / muttaiah
yaa, it's invalid as per the syntax of cond.
Syntax:
Cond=(code,Relational Op,stepname)
code - 0 to 4096, RO - LT/GT/LE/GE/EQ,NE
If you give stepname say step1 it will check for that
step alone, If you want to check all the prior executed
steps ignore stepname.
Cond = Even or only
This we will use only in case of any abends.
Is This Answer Correct ? | 0 Yes | 0 No |
The maximum number of in-stream procedure you can code in any JCL is ?
How jcl is used for testing batch programs?
Is it possible to left uncode disp? If yes, how?
Max generations in GDG??
i have 10steps and i want run step3 and based on step3 i want execute step7,8,9,10?in jcl
what is pupose and meaning of the REGION keyword and what jcl statement is it associated with?
using cursor how can you fetch more than one record into a variable
How to see the COMP3 value(packd decimal)
What will happen when we try to pass data from JCL to COBOL using PARM parameter without declaring the length field in Linkage Section?
what are the symbolic parameters? why do we use symbolic parameters ?
2 Answers IBM, TCS, UST, Xansa,
How can you trap abends in the JCL?
Suppose i have 2 steps in my pgm. Step1- creates a file, Step2 - generates report from file in step1, What changes have to be made in Step2, so that if the file in Step1 is empty Step2 should not be executed? No changes to be made to Step1.