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 |
suppose i have 10 job steps and i want to execute only step 6.How to write?
How do you restart a step in JCL?
can we bowse or edit the GDG dataset if it is a tape entry?
what do you mean by include statement in jcl?
How gdg are concatenated?
. What is the difference between the following statements : I) step#1 exec PGM=accpay ii) step#1 exec tbalance
Is acct parameter mandatory?
How dummy is used in jcl?
can i sort packed decimal if i can tell the syntax
what is the JCL statement consists of?
Can we use two or more SYSPUNCH DD statements in a JCL for multiple unload (SYSREC00 & SYSREC01)..?
COND -> step1 . . step2, Step2, Executes if the CC of step1 is 0. But even if it is NOT 0 and if we dont give COND, will step2 be executed ?