How to find whether a Flat file is empty or not without
Reading a file in COBOL Program. (not using JCL)

Answer Posted / anusha

Hope the dataset browse option (ISPF option) will tell
you 'DATASET is EMPTY' if no records in the file.

Is This Answer Correct ?    3 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different rules to perform a Search?

619


how to refer the data field?

1812


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

644


Explain the configuration section of a cobol program with examples of syntax.

660


What is amode(31)

724






What do you understand by psb and acb?

666


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1846


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

2733


What is the difference between a binary search and a sequential search what are the pertinent cobol?

735


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

5695


Write a program to explain size error.

677


Difference between cobol and cobol-ii?

708


What is the Purpose of Pointer in the string?

643


What are the different rules for performing sort operation?

763


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2120