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



When we use conditional statement in JCL using if-then-else-endif, IF statement is true, the step i..

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

When we use conditional statement in JCL using if-then-else-endif, IF statement is true, the step i..

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

When we use conditional statement in JCL using if-then-else-endif, IF statement is true, the step i..

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

When we use conditional statement in JCL using if-then-else-endif, IF statement is true, the step i..

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

When we use conditional statement in JCL using if-then-else-endif, IF statement is true, the step i..

Answer / serafina

executed

Is This Answer Correct ?    2 Yes 0 No

When we use conditional statement in JCL using if-then-else-endif, IF statement is true, the step i..

Answer / nidhi sharma

IF STATEMENT IS TRUE STEP WILL BYPASS OTHERWISE IT WILL
EXECUTE.

Is This Answer Correct ?    4 Yes 8 No

Post New Answer

More JCL Interview Questions

suppose i have 10 job steps and i want to execute only step 6.How to write?

6 Answers  


How do you restart a step in JCL?

12 Answers   HSBC,


can we bowse or edit the GDG dataset if it is a tape entry?

4 Answers  


what do you mean by include statement in jcl?

1 Answers   IBM,


How gdg are concatenated?

0 Answers  


. What is the difference between the following statements : I) step#1 exec PGM=accpay ii) step#1 exec tbalance

1 Answers  


Is acct parameter mandatory?

0 Answers  


How dummy is used in jcl?

0 Answers  


can i sort packed decimal if i can tell the syntax

1 Answers   Barclays,


what is the JCL statement consists of?

0 Answers  


Can we use two or more SYSPUNCH DD statements in a JCL for multiple unload (SYSREC00 & SYSREC01)..?

1 Answers  


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 ?

4 Answers   IBM,


Categories