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 a MODEL Paramater in GDG ?
. What is the difference between the following statements : I) step#1 exec PGM=accpay ii) step#1 exec tbalance
Suppose I have 5 dataset listed under a single DD name in a catlogued PROC. How can I override one of those 5 dataset (say 3rd dataset)?
What is the parameter to be passed in the job card for the unlimited time , irrespective of the job class ?
Can we use COND=EVEN on a job card, when jobs are scheduled through scheduler?
We are using 2 files , file one has data, file two is empty.Using jcl how can we find the other file is empty?
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file
A job has 150 steps i want to execute only 57th step
When will we need to specify Space parameter ?
When we use conditional statement in JCL using if-then-else-endif, IF statement is true, the step is bypassed or executed?
What will happen if two JOB statements are mentioned in an JCL continuously.
i need some shortcuts and tso commands can any on ehelp me in these ?