How to read records from flat file in reverse order through
COBOL program?
Answer Posted / mahendra.ch
first we can move the records to an occurs
then
we can solve this problem by using perform varing 1 by -1
until i=0
hear i = number of racords.
iam shure it works.
thank you....
| Is This Answer Correct ? | 8 Yes | 4 No |
Post New Answer View All Answers
What is comp-1 and comp-2?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
How do you reference the following file formats from cobol programs?
What guidelines should be followed to write a structured cobol prgm?
What are the different types of condition in cobol and write their forms.
Explain the configuration section of a cobol program with examples of syntax.
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
Can a Search can be done on a table with or without Index?
How are the next sentence and continue different from each other?
Explain about different table spaces.
What rules are to be followed while using the corresponding options?
what is the use of outrecord?
explain sorting techniques in cobol program?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
What is link edit in cobol?