How to read records from flat file in reverse order through
COBOL program?
Answer Posted / srini
Sort the file based on key in descending order. You can
read the file in reverse order.
| Is This Answer Correct ? | 44 Yes | 27 No |
Post New Answer View All Answers
What is the Purpose of POINTER Phrase in STRING command in COBOL?
What are the pertinent COBOL
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
Define static linking and dynamic linking.
How many bytes S(8) comp field occupy and its maximum value?
Have you used comp and comp-3 in your project? And how?
) how do u code after getting data?
what is amode(24), amode(31), rmode(24) and rmode(any)?
how do you define single dimensional array and multidimensional array in your cobol?
What are the different open modes available in cobol?
How do you define a variable of comp-1 and comp-2?
Can you please let me know the centre name of INS certification in Kolkata.
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 ......
What is the Purpose of Pointer in the string?