How to read the last 100 records from a COBOL file. The file
contains N number of records.
Answer Posted / guest
First move HIGH-VALUES to the key field and then read the
file.It will read the last record then put READ PREV in
loop 100 times to get the last 100 records.
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
Explain how to differentiate call by context by comparing it to other calls?
how to access the file from prodution from changeman tool and to submit a file to production
how do you reference the ksds vsam file formats from cobol programs
What are literals?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
Discuss about changing dataset name in proc.
What is the LINKAGE SECTION used in COBOL?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
i need a small 3d program using inline and outline.
Write a program to explain size error.
Can a Search can be done on a table with or without Index?
What is redefines clause in COBOL?