How to use COND Parameter in jcl
Answers were Sorted based on User's Feedback
Answer / krishna
cond statement is used for conditional execution of a
perticular step.
cond=(return code, relational operator)
it can be coded with job statement or with exec statement.
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / challa srinivas
cond statement is used for conditional execution of a
perticular step.
cond=(return code, relational operator)
it can be coded with job statement or with step statement.
If COND parameter is coded both in job and step, then COND parameter of step will override JOB.
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / p.ramesh
The condition statement used in job statement and also used in exec statement.
syntex
COND(Positional parameter,Conditional parameter)
EX:
COND(0,LF)
Is This Answer Correct ? | 3 Yes | 3 No |
Answer / venkat ramana
Condition is a key word parameter. '=' is mandatory.
COND = (0, LE)
Is This Answer Correct ? | 1 Yes | 2 No |
What is NOTCAT ?
How is a GDG base created?
What are the differences between JES2 & JES3 ?
What are hierarchy levels in jcl?
Hi, My dataset have multiple records, say 100. I want to start copy records only after a record contain a specific value that may be in a specific position. Secondly I want to stop copying rest records if certain record contains a specific value. Can it be done using SORT/ICETOOL utilities?
What happens if both JOBLIB & STEPLIB is specified ?
How do you submit a JCL under CICS environment ?
i want to avoid the positional parameter how to code it ?
How to search strings in multiple dataset with conditions 'string1 & string2'?
How to change default PROCLIB?
Please explain with syntax and an example, the Inrec fields and Outrec build in sort.
I have a JCL which 20 steps. How do I execute 17 th step alone (It should execute only 17ths tep.and it should not execute 18,19,20 steps??
9 Answers IBM, Infosys, TCS, Xansa, Xchanging,