We are using 2 files , file one has data, file two is
empty.Using jcl how can we find the other file is empty?
Answer Posted / deepak dada, jaipur
the handling would happen
if the file is empty then pass the zero to return code in
cobol program
then go to jcl step and check for the conditiom code( 0,
eq) where the program is getting called and do whatever you
want to do
Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
Brief description of inline procedure of jcl.
What are the 4 fields in dd statement?
what is use of disp parameter in dd statement?
how you will the direct the data to spool using sysout option?
What is the function of //jcllib statement?
What are hierarchy levels in jcl?
what are the various stages of job processing?
Give the syntax of job specifying jcl statement.
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
How can return codes be tested before execution of a job step?
What is the format of comment statement?
How can values be passed from the job stream to an executable program?
Explain the job statement in jcl?
what are the statements that are not valid to be included in an include statement?
Explain the function of the dd dcb keyword?