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
What do you know about jcl?
what happens in execution stage in job processing?
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
Explain the jcl exec statement?
what is a jcl?
Mention the types of job control statements?
How can values be passed from the job stream to an executable program?
which utility is used a dummy utility?
What is the syntax of JCL statement?
List the different components of jcl statement?
How gdg are concatenated?
Explain how can values be passed from the job stream to an executable program?
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.
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?