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 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is automatic restart possible in jcl?

722


What parameters can be used to limit the number of records written to a sysout dataset?

734


which utility is used a dummy utility?

776


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

848


What is the function of the dd mgmtclas keyword in sms datasets?

727






what is a jcl?

678


What is the purpose of dd * statement in jcl?

786


How to pass the parameter in parm using linkage section ? (syntax)?

641


What is condition checking in jcl? Is this possible?

615


how JCL works?

785


How does jcl act on a cobol code?

646


How do you access an uncatalogued dataset in a jcl?

716


Explain the function of dd disp parameter?

586


How can unused space allocation be returned to the system when a dataset is closed?

800


Explain the function of a dd statement?

647