How to read records from flat file in reverse order through
COBOL program?
Answer Posted / shrik
Reading the records into a buffer (array) and using it in
reverse order would be the first idea that comes to mind but
that way doesnt work for file with millions of records.
| Is This Answer Correct ? | 18 Yes | 6 No |
Post New Answer View All Answers
How do you reference the fixed block file formats from cobol programs
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
Write down the divisions of cobol program?
what is search and searchall?what is the diffrence between them?give an best example?
How do you get the data to code the BMS macro?
What is the difference between PIC 9.99 and 9v99 in COBOL?
How do u write test cases?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
What is the difference between Call and a Link?
What is the difference between binary search and sequential search?
What is the LINKAGE SECTION used in COBOL?
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
how to access the file from prodution from changeman tool and to submit a file to production
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?