How to read a record from bottom of a file which is
indexed by 'A'.

Answer Posted / bm

USE SORTING ie:

SORT file-name1
ON DESCENDING KEY A
USING file-name2
GIVING file-name3

then read file-name3.

This is the nearest I can think of, any other solutions
please..

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of condition in cobol and write their forms.

660


How many sections are there in data division in COBOL?

680


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

1914


What is the difference between next sentence and continue in cobol programing language?

712


what is search and searchall?what is the diffrence between them?give an best example?

5563






How do u write test cases?

1640


What is the difference between comp and comp-3?

704


Why did you choose to work with ibm mainframe cobol programming?

631


Can we redefine the field of x(200) to less than 200?

822


How are the next sentence and continue different from each other?

766


How do get the result of your program directly on your pc?

1885


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

8167


What is static and dynamic call in cobol?

599


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

1933


What rules are to be followed while using the corresponding options?

641