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
how do you reference the fixed unblock file formats from cobol programs
Write down the divisions of cobol program?
What is a SSRANGE and NOSSRANGE?
What are all the divisions of a COBOL program?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
What is the default value(s) for an initialize and what keyword allows for an override of the default?
What are the various section in data division and briefly explain them.
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
In COBOL, what is the different between index and subscript?
) what is the difference between AID and HANDLE AID?
Describe the cobol database components?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
What is difference between static and dynamic call in cobol?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly