How to find whether a Flat file is empty or not without
Reading a file in COBOL Program. (not using JCL)
Answer Posted / renu
Open the file and check the file code. If it is '10', the file is empty. It is always better to check the file code after every open statement and handle the empty file condition.
| Is This Answer Correct ? | 10 Yes | 8 No |
Post New Answer View All Answers
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
How do you reference the fixed block file formats from cobol programs
) How do u handle errors in BMS macro?
What are the different data types in cobol?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
Are you comfortable in cobol or jcl?
Write a program to enter and display the names of students in a class using the occurs clause.
how to move the records from file to array table. give with code example
Can you please let me know the centre name of INS certification in Kolkata.
Explain how to differentiate call by context by comparing it to other calls?
what are decleratives in cobol?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
What rules are followed by the search verb.
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
What are the pertinent COBOL commands?