can we read records in a file from botom to top. if
possible how can we read
Answer Posted / krishna
If it is a tape file,
OPEN INPUT FILEXXX REVERSED,
then the pointer is posistioned at the last record and read
next will read the prior record...
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is the use of intialize verb?
i need a small 3d program using inline and outline.
What are all the divisions of a COBOL program?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
For rewrite, why is it mandatory that file needs to be opened?
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?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
Are you comfortable in cobol or jcl?
What are literals?
What is perform what is varying?
How do you get the data to code the BMS macro?
Which is not true about evaluate statement
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
explain sorting techniques in cobol program?
What is the difference between Global and External Variables?