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 to access the file from prodution from changeman tool and to submit a file to production
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
What is the use of intialize verb?
What type of SDLC u followed? Why?
Can we change the password using ALTER? anyone tried and changed?
Can you please let me know the centre name of INS certification in Kolkata.
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
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
In COBOL programming, what is PERFORM? What is VARYING?
i want a program using by if, evaluate , string, unstring, perform, occurs?
What is the difference between comp and comp-3 usage?
Give some examples of command terminators?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What is a SSRANGE and NOSSRANGE?