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

What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?

9205


How does jcl act on a cobol code?

649


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

1341


Explain how can the submitting users racf authority be overridden in a job stream?

666


what is the resolution for sb37 error

7684






How to submit jcl through a cobol program?

669


Is condition checking possible in jcl? If yes, how?

729


if the submitter of a job wants to inform another user about the job completion, how can it be done?

744


What is the motivation behind coding class parameter in job statement?

676


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

600


What is the function of a dd statement?

700


What is the function of the dd avgrec keyword in sms datasets?

828


what is DD statement is used in JCL?

675


What are the 2 types of parameters in dd statement?

637


Can an individual step be restricted from using all the jobs allowed cpu time?

1002