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 / mastan ummadisetti
First read the file and add a sequence number to it.
Then use sort for descending the records based on sequence numbers.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What type of SDLC u followed? Why?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
What are the different rules to perform a Search?
What are literals?
What is the difference between external and global variables in COBOL?
How you can read the file from bottom?
Which mode is used to operate the sequential file?
Write down the divisions of cobol program?
What is a scope terminator give example?
What is perform what is varying?
How do you differentiate between cobol and cobol-ii?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
How to know whether the module is dynamical or statistical?
how do you reference the printer file formats from cobol programs