How to read records from flat file in reverse order through
COBOL program?
Answer Posted / laxmaiah
i have some knowledge in flat files,
(open input file-name reversed)
in this type use read the data in reverse order
AND write another file
| Is This Answer Correct ? | 16 Yes | 13 No |
Post New Answer View All Answers
How are the next sentence and continue different from each other?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
Write a program that uses move corresponding.
Write the code to count the sum of n natural numbers.
What guidelines should be followed to write a structured cobol prgm?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
What is link edit in cobol?
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
how do you reference the rrds file formats from cobol programs
Which Search verb is equivalent to PERFORM…VARYING?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
Which mode is used to operate the sequential file?
What is an in line perform? When would you use it? Anything else you wish to say about it.
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......