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
Which dd parameters are required?
How can an in-stream dataset be terminated?
How to submit jcl through a cobol program?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
Mention the types of job control statements?
how JCL works?
when does a dataset go uncataloged?
when can a job time-out occur? How to overcome that?
Explain the purpose of the dd keylen parameter?
Is it possible to left uncode disp?
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
write a jcl to execute a job by 7:00 am on jan 20,1986?
How can a jobs execution priority be modified?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?