How to read records from flat file in reverse order through
COBOL program?

Answer Posted / srini

Sort the file based on key in descending order. You can
read the file in reverse order.

Is This Answer Correct ?    44 Yes 27 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Whats the difference between search & search ALL?

5982


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2153


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

3009


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

1069


Define cobol?

1095


What are the rules of the move verb?

1001


What are literals?

897


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

1032


what is the use of outrecord?

2004


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17557


How do we get current date from system with century in COBOL?

1121


What is the Purpose of POINTER Phrase in STRING command in COBOL?

1012


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

889


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)?

886


What is a SSRANGE and NOSSRANGE?

1165