When we use conditional statement in JCL using
if-then-else-endif, IF statement is true, the step is
bypassed or executed?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can I send output of job to my remote device careerride123?

891


Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?

2446


Explain in DD statement what is the use of DCB parameter?

893


Can we call instream to catalog and catalog to instream?

892


What are the difference between jcl and jes?

1301


In job processing, what happens in execution stage?

902


how to do automated restart when a job abends?

1098


When output dataset space is required, what quantity categories are used?

1090


what is DD statement is used in JCL?

903


Explain the job statement in jcl?

855


I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?

1570


What methodology can be adapted to transfer data to a program that is coded using the exec statement?

884


what is “Cond= even” and “Cond=only”?

973


What is condition checking in jcl? Is this possible?

850


define cond parameter in jcl?

997