can we read records in a file from botom to top. if
possible how can we read
Answer Posted / sreejith
yes it is possible by using access mode dynamic.
use START command to point last record.then start reading
using READ PREVIOUS command until first record
| Is This Answer Correct ? | 3 Yes | 12 No |
Post New Answer View All Answers
Mention the guidelines to write a structured cobol program?
Explain what you understand by passing by value.
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
how do you reference the ksds vsam file formats from cobol programs
How do you reference the fixed block file formats from cobol programs
what happens if parmparameter passes zero bytes to the program
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
Difference between array and sub-script ?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
What are the pertinent COBOL
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
How are the next sentence and continue different from each other?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
What is the Purpose of Pointer in the string?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?