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

Explain the function of a dd statement?

0 Answers  


What 3 guidelines do we have to follow when concatenating DD statements?

3 Answers  


What is DSNDB06 ?

1 Answers  


wt will happen to the step of a job if u code COND=ONLY

5 Answers   ADP,


I have a JCL which 20 steps. How do I execute 17 th step alone (It should execute only 17ths tep.and it should not execute 18,19,20 steps??

9 Answers   IBM, Infosys, TCS, Xansa, Xchanging,






How do you submit a JCL under CICS environment ?

5 Answers   Wipro,


We have an output dataset in job with disp parameter as SHR. Can we write data in that file dataset?

2 Answers   CTS, IBM,


What is TimeStamp, What is TimeStamp error and What is the Abend Code for TimeStamp Error ?

4 Answers   IBM,


When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?

0 Answers   IBM,


Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE

0 Answers  


How to pass values in jcl to cobol?

4 Answers   IBM, Infosys,


What is the function of dd name parameter with a 2 part structure; audit.report?

0 Answers  


Categories