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 |
Hi, Say I have 10 flat files and I want to copy all these 10 flat files to a GDG versions flat files (I have GDG base: FDWS01.TEST.RESTORE) in one shot. Can we do that in one shot using a JCL. May be by using IEBGENER. It's a bit urgent. So anyone's fast rely would be appreciated.. Thanks in advance.. 10 flat files ----------------------------------- FDWS01.SUB.RESTORE1 FDWS01.SUB.RESTORE2 FDWS01.SUB.RESTORE3 ; ; FDWS01.SUB.RESTORE10 TO GDG versions ----------------------- FDWS01.TEST.RESTORE.G0001V00 FDWS01.TEST.RESTORE.G0002V00 FDWS01.TEST.RESTORE.G0003V00 ; ; FDWS01.TEST.RESTORE.G0010V00
How do you designate a comment in JCL?
when can a job time-out occur? How to overcome that?
How to exclude the duplicate records from two concateded flat files (records from both files must be removed)?
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
Mention the types of job control statements?
how do u send return code from cobol to jcl ?
What is the difference between catalogue procedure and In-Stream procedure?
What is the difference between static call & Dynamic call ?
Why do you use a control card?
how are instream data terminated?
What parameter directs the output of the job log dataset?