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 is Cataloged Procedures?
i want to store 20 digits . how will u do it in cobol ?
How to submit jcl through a cobol program?
How can values be passed from the job stream to an executable program?
What parameter of the job statement is used to limit the cpu time consumed by the job?
Can I share my data with other jobs? How?
Name the statement which can be used to send data to another mvs jes3 node?
What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?
Why block size is multiple of lrecl in jcl?
How can return codes be tested before execution of a job step?
what is use of dcb parameter in dd statement?
In job processing, what happens in conversion stage?
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
What is multithreading in jcl?
What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?