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
What is the difference between comp and comp-3?
Difference between cobol and cobol-ii?
Write a program to enter and display the names of students in a class using the occurs clause.
Which is not true about evaluate statement
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
What are literals?
Define cobol?
how can i see junk values in dclgen or in hostvariable of comp ?
What is link edit in cobol?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
i need a small 3d program using inline and outline.
What are the rules of the move verb?
How to remove 2 duplicate records and copy only one using job control language?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
Can we change the password using ALTER? anyone tried and changed?