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
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
how do you define single dimensional array and multidimensional array in your cobol?
Explain what you understand by passing by value.
What is the use of intialize verb?
What are different data types in cobol?
Whats the difference between search & search ALL?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
What kind of error is trapped by on size error option?
Are you comfortable in cobol or jcl?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What are declaratives and what are their uses in cobol?
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
Which Search verb is equivalent to PERFORM…VARYING?
How to remove 2 duplicate records and copy only one using job control language?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?