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 are the parameter we cannot use in procedure? How many instream we can write in single jcl?
Explain how can an in-stream dataset be terminated?
how can the same proc be re-used and called by many jobs?
What do you understand by the term notcat 2 – gs?
Is it possible to define dd statements as you want?
What are the parameter we cannot use in procedure?
What is the purpose of dd dummy statement?
What is one line to pass PARM from JCL to COBOL?
which parameter is used to check the syntax of a jcl without executing it?
which utility is used to run a cobol-db2 program?
What is the use of disp parameter?
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
When space is allocated for an output dataset, what units can be used?
how you can access an uncataloged dataset in a JCL?
How to execute 2nd and 4th steps among 5 steps in jcl proc?