without performing any operations on a file how can i know
whether it contains data or not

Answer Posted / sravani

through file status we can know this. read is not possible for empty files

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

HOw can I get the negative sign while deduct high value from low value

2029


if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

1091


What is the difference between Global and External Variables?

963


explain sorting techniques in cobol program?

909


what is search and searchall?what is the diffrence between them?give an best example?

6223


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

922


how do you reference the variable block file formats from cobol programs

950


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

5114


What are all the divisions of a COBOL program?

913


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

2376


How are the next sentence and continue different from each other?

1040


What is the compute verb? How is it used?

866


) what is the difference between AID and HANDLE AID?

1907


how do you reference the variable unblock file formats from cobol programs

1026


What the difference is between continue and next sentence?

888