How to find whether a Flat file is empty or not without
Reading a file in COBOL Program. (not using JCL)
Answer Posted / vinodh
Goto ISPF 3.4, give the dataset name hit enter.
Press F11 until you see '%used', if its zero then the file
is empty. This will be useful if you want to validate many
GDG's for emptiness.
| Is This Answer Correct ? | 3 Yes | 4 No |
Post New Answer View All Answers
i want a program using by if, evaluate , string, unstring, perform, occurs?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
What is an in line perform? When would you use it? Anything else you wish to say about it.
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
What is the difference between goback, stop run and exit program in cobol?
What is the difference between perform … with test after and perform … with test before?
What are the access modes of START statement?
What is the difference between next sentence and continue in cobol programing language?
Whats the difference between search & search ALL?
How do u write test cases?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
How do you reference the fixed block file formats from cobol programs
) How do u handle errors in BMS macro?