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

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

734


When output dataset space is required, what quantity categories are used?

811


what EXEC statement is and what is the syntax of EXEC statement used in JCL?

620


what is the use of JCL?

655


A dd statement consists of 4 fields. Name them?

908






How to submit jcl through a cobol program?

665


What is condition checking in jcl? Is this possible?

615


how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?

787


Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?

711


I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?

1336


What is the purpose of dd?

714


How can a jobs execution priority be modified?

788


List the different jcl statements that are not permitted in the procedures?

631


Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?

660


what is the difference between JES3 and JES2?

665