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


Please Help Members By Posting Answers For Below Questions

Can we redefine the field of x(200) to less than 200?

1081


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

954


What are all the divisions of a COBOL program?

872


What are the different open modes available in cobol?

925


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

971


What are the different rules to perform a Search?

801


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

2104


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

851


Write some characteristics of cobol as means of business language.

824


) How do u handle errors in BMS macro?

1609


What is the difference between perform … with test after and perform … with test before?

1133


What is amode(24)?

868


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

2000


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1875


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

1840