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 are the types of abends that occur on job failure? And explain the possible causes of these

1119


what is use of dcb parameter in dd statement?

775


what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?

778


Why block size is multiple of lrecl in jcl?

915


what is the use of JCL?

666






What is the difference between the positional and keyword parameters? Give examples.

712


List the various advantages of using jcl language?

852


How to submit jcl through a cobol program?

679


Explain how can an in-stream dataset be terminated?

703


i want to store 20 digits . how will u do it in cobol ?

860


what EXEC statement is and what is the syntax of EXEC statement used in JCL?

633


How can a stopped job be started again?

714


What are s0c1, s0c4, s0c5, s0c7 and socb?

706


Is there any command to check wether the ps file is in sorted order?

2433


How to submit a jcl from cics?

668