How to find whether a Flat file is empty or not without
Reading a file in COBOL Program. (not using JCL)
Answer Posted / srini
You can do with IDCAMS. Use input as your file and output
is dummy file and have repro count(1) in sysin dd *, if the
file is empty, you will get condition code 4 otherwise you
will get cc '0'.
Is This Answer Correct ? | 5 Yes | 5 No |
Post New Answer View All Answers
What is rmode(24)
What are different data types in cobol?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
What are literals?
) what is the difference between AID and HANDLE AID?
Write the code to count the sum of n natural numbers.
In COBOL, what is the different between index and subscript?
How you can read the file from bottom?
how to move the records from file to array table. give with code example
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
What is the utilization of copybook in cobol?
What are the cobol coding sheets?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
how do you reference the esds vsam file formats from cobol programs
how do you reference the variable unblock file formats from cobol programs