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


Please Help Members By Posting Answers For Below Questions

EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2052


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

1927


What is the difference between structured cobol programming and object alternativelyiented cobol?

751


What is the difference between Call and a Link?

694


What is cobol?

741






What is Pic 9v99 Indicates in COBOL?

722


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.

5673


) How do u handle errors in BMS macro?

1427


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5051


what happens if parmparameter passes zero bytes to the program

1659


What are the different rules for performing sort operation?

757


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

700


What is the difference between PIC 9.99 and 9v99 in COBOL?

729


How are the next sentence and continue different from each other?

760


How to remove 2 duplicate records and copy only one using job control language?

738