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 |
Is there a limit of 3273 DD statements for a JCL or for every EXEC step in a JCL?
how to resolve the soc4 error?
Passing a variable parm from JCL to a cobol/db2 program
How do you submit JCL via a Cobol program?
I found in one of the jcl, gdg version being mentioned as : abc.def.ghi(-0) Can anyone tell me how referring the version as (-0) is different from referring it as (0)
How would I code JCL to copy a gdg data set G001v00 and create a gdg Data set G001v01
what is the difference between static call and dynamic call?
I have a Symbolic Parameter which can have a value say 01 or 02 etc. Now consider i have another Symbolic parameters which is used to get 3 digit code of months (JAN, FEB, etc) but for that i need to check the first symbolic parameter's value and provide its corresponding month's name in the second symbolic parameter. Say IF sym1 = 01 then sym2='Jan' ENDIF etc... In JCL, IF condition is used for RC, ABEND purposes of a step etc. When i use Symbolic parameter in IF clause it is showing Error message. Is there a way to get the above result possible in JCL. If you could provide me with an example, i would understand it better.
What are isolation levels? Where do we need to specify them in compiling JCL?
What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?
What does a disposition of (new,catlg,keep) for a dsn mean?
what is the job entry system used in your project?