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
Does jcl support automatic restart?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
What are some jcl statements that are not allowed in procedures?
when does a dataset go uncataloged?
What is multithreading in jcl?
which utility is used a dummy utility?
Is it possible to left uncode disp?
Which dd parameters are required?
What happens if both JOBLIB & STEPLIB is specified ?
List the various advantages of using jcl language?
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
Is there any command to check wether the ps file is in sorted order?
What is Cataloged Procedures?
List the different jcl statements that are not permitted in the procedures?
what operation is performed by job statement?