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 / mchava

using IDCAMS utitlity

Print infile(file name) count(1)

it will check whether the file is empty or not

Is This Answer Correct ?    14 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you know about jcl?

658


what happens in execution stage in job processing?

660


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

731


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

679


Explain the jcl exec statement?

661






what is a jcl?

697


Mention the types of job control statements?

702


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

885


which utility is used a dummy utility?

809


What is the syntax of JCL statement?

707


List the different components of jcl statement?

705


How gdg are concatenated?

676


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

638


I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.

1968


When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?

942