Suppose i have 2 steps in my pgm. Step1- creates a file,
Step2 - generates report from file in step1, What changes
have to be made in Step2, so that if the file in Step1 is
empty Step2 should not be executed? No changes to be made to
Step1.
Answer Posted / vinay sonar
If file is empty you will get return code 4.
So put always true confition COND=(4,EQ) in step2.
Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What do you understand by jcl?
IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C
What is condition checking in jcl? Is this possible?
a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?
how can you check if a file is empty using jcl?
what is the JCL statement consists of?
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY
what is a jcl?
what is the purpose of coding class parameter in job statement?
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?
which utility is used to sort a file in jcl?
what is use of dcb parameter in dd statement?
which parameter is used to check the syntax of a jcl without executing it?
How does jcl act on a cobol code?
How is a type of file defined in the jcl that executes the cobol program?