How to read records which is in sequential file in reverse
order ? Exp. 1 2 3 4 5 . i want 5 4 3 2 1?please clear my
doubt any one
Answer Posted / sreejith
sort the file firt in decending order
and then read sequentially
| Is This Answer Correct ? | 12 Yes | 10 No |
Post New Answer View All Answers
What is the difference between perform … with test after and perform … with test before?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
How do you differentiate between cobol and cobol-ii?
What are the different open modes available in cobol?
Name some of the examples of COBOl 11?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What is cobol?
how do you reference the esds vsam file formats from cobol programs
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
What is the difference between external and global variables in COBOL?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
What are the different data types in cobol?
State the various causes of s0c1, s0c5 and s0c7.
Why is it necessary that file needs to be opened in I-O mode for REWRITE?