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

In JCL..for TIME Parameter was specified both JOB & STEP..which one is overrides

6 Answers   Satyam,


what is fixed length and variable length and difference between them

1 Answers   CGI, Wipro,


what is symbolic parameters in jcl, what is a temparary data set ? where do u use ?

2 Answers   Verizon,


A. Job Abended in STEP03. Now run job again to execute STEP03, STEP04 (STEP01,STEP02 should not execute again)

3 Answers   Cap Gemini, CSC, Xchanging,


Describe the DD statement, its meaning, syntax and keywords?

2 Answers  






What are the parameters that are used in creating a gdg?

0 Answers  


How do you submit a job for execution?

0 Answers  


how to compare two datasets without using superce because output is limited to 133 bytes

0 Answers  


what is the Difference between SYSIN and PARM ?

5 Answers   IBM,


What is the difference between primary and secondary allocations for a dataset?

8 Answers  


Can we Execute a job without specifying Job Name in the Job Card?

2 Answers  


i have a string of 80 chars i want to replace 4th char with "a"?

3 Answers   CSC,


Categories