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


Please Help Members By Posting Answers For Below Questions

Can you please let me know the centre name of INS certification in Kolkata.

1954


How to know whether the module is dynamical or statistical?

882


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

1049


Can we redefine the field of x(200) to less than 200?

1109


input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?

2098


What is the Purpose of POINTER Phrase in STRING command in COBOL?

978


What is a report item?

916


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

2296


Discuss about changing dataset name in proc.

969


Differentiate between structured cobol programming and object-oriented cobol programming.

846


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

956


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

914


In COBOL programming, what is PERFORM? What is VARYING?

876


Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

1895


i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2328