How to find whether a Flat file is empty or not without
Reading a file in COBOL Program. (not using JCL)
Answer Posted / amarnadh reddy
Hi,
Use 3.4 option,to see the flat file. After it display the
file is empty.
or
When the file reading, file status code is 23.
| Is This Answer Correct ? | 3 Yes | 5 No |
Post New Answer View All Answers
Name some of the examples of COBOl 11?
What is report-item in COBOL?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
how to access the file from prodution from changeman tool and to submit a file to production
Explain about different table spaces.
How do you define a variable of comp-1 and comp-2?
Which Search verb is equivalent to PERFORM…VARYING?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
What is the difference between comp and comp-3?
how do you reference the fixed unblock file formats from cobol programs
What are all the divisions of a COBOL program?
Write the code implementing the perform … varying.
How can you get the ksds file records into your cobol program?
Write the code to count the sum of n natural numbers.
Why is it necessary that file needs to be opened in I-O mode for REWRITE?