When we use conditional statement in JCL using
if-then-else-endif, IF statement is true, the step is
bypassed or executed?
Answers were Sorted based on User's Feedback
Answer / shubha
statement is executed,but if we use cond=( ),
then if the statement is true step will be bypassed.
| Is This Answer Correct ? | 17 Yes | 2 No |
Answer / satyasivaji.ch
When we use conditional statements if the condition
specified is true then step bypassed,n if u use if n else
statements then condition specified is true then step is
executed.
| Is This Answer Correct ? | 6 Yes | 2 No |
Answer / arjun
The step will b bypassed if the condition is true. This is
the feature of JCL which is against all other languages
| Is This Answer Correct ? | 7 Yes | 4 No |
Answer / praveen bejjanki
JCL has 2 statement which can check for the Return code of
the previous step.
1. Cond stmt: step will be executed when the condition is
falst
2. If stmt: step will be executed when the given condition
is true.
@All: Correct me if i'm wrong
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / nidhi sharma
IF STATEMENT IS TRUE STEP WILL BYPASS OTHERWISE IT WILL
EXECUTE.
| Is This Answer Correct ? | 4 Yes | 8 No |
What is the difference between the positional and keyword parameters? Give examples.
What statement marks the end of an in-stream or catalogued procedure?
Can we change a FB file to VB file in JCL? Please help
if we have a job consist of two steps and each step calling a proc having 10 steps each then how many steps are counted only 2 or 22(10+10+1+1)? can we have more than 255 steps in a single job?
What does a disposition of (NEW,CATLG,KEEP) mean?
How to concatenate different LRECL of files?
What are the causes for S0C1, S0C4, S0C5, S0C7, S0CB abends ?
Can there be 2 job statements in a JCL? If yes what is the purpose of doing tha?
What is a Proc ? why do we go for a Proc ? What are the types of procs?Can we have nesting in Procs ?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
What is DSNDB06 ?