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

Answer Posted / sravani

using rrds it is possible. we can count the no of records using rrds key. by using if we can decrement from last to first

Is This Answer Correct ?    0 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

) how do u code after getting data?

1578


Define cobol?

856


What is the problem of ordered sequential files access?

694


i want a program using by if, evaluate , string, unstring, perform, occurs?

4046


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?

1798






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

743


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

1586


How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

695


Explain what you understand by passing by value.

692


How do you define a variable of comp-1 and comp-2?

701


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

2728


What is the Purpose of Pointer in the string?

641


What are all the divisions of a COBOL program?

660


Describe the cobol database components?

676


How to use the same COBOL program in Batch and CICS on lines? explain with an example

1912