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 |
Explain dd statement in jcl?
Hi Guyz, My requirement is to empty out a PS file but not to delete. How would I do that. Is there any Utility. If any other way, plz answer. Thanks.
9 Answers iGate, Lehman Brothers,
What are the jcl procedures?
How do you create a temporary dataset? Where will you use them?
How to pass the temp dataset form one JOB step to another?
Is stepname is a MUST and should be unique also for each JOBSTEP ? or system can supply the stepname for a step which is not given a name by the programmer ?
How to change default PROCLIB?
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
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one
what is use of dcb parameter in dd statement?
can anyone explain me about sort in jcl with inrec and outrec ?
What will happen if you attempt to restart a job in the middle of a JCL // IF .... // ENDIF?