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


Please Help Members By Posting Answers For Below Questions

Brief description of inline procedure of jcl.

693


What are the 4 fields in dd statement?

756


what is use of disp parameter in dd statement?

671


how you will the direct the data to spool using sysout option?

1774


What is the function of //jcllib statement?

814






What are hierarchy levels in jcl?

965


what are the various stages of job processing?

745


Give the syntax of job specifying jcl statement.

644


How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?

676


How can return codes be tested before execution of a job step?

935


What is the format of comment statement?

688


How can values be passed from the job stream to an executable program?

881


Explain the job statement in jcl?

659


what are the statements that are not valid to be included in an include statement?

784


Explain the function of the dd dcb keyword?

713