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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how can you check if a file is empty using jcl?

802


I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.

724


Explain how can the attributes of one sms dataset be copied to another dataset?

699


have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file

914


What is the maximum length of a single line of jcl?

821






Matching Logic in Jcl not in cobol.Could any one please answer this question

3667


What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?

666


Mention the types of job control statements?

678


whats the diff bw the evaluate also and and?

1843


What is the purpose of dd?

720


how would you create a temporary dataset? And where will you use them?

758


I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?

823


Is it possible to define dd statements as you want?

642


when does a dataset go uncataloged?

824


what are the various stages of job processing?

729