How to read records from flat file in reverse order through
COBOL program?
Answer Posted / satty
we can read file in reverse order by using a dynamic array.
first transfer the ps into array and read it by -1 from
counter = no of records in the file
| Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
What are 77 levels used for?
What are the different rules to perform a Search?
Explain about different table spaces.
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
how do you reference the variable unblock file formats from cobol programs
Which mode is used to operate the sequential file?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
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 ?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
What is Pic 9v99 Indicates in COBOL?
Can you please let me know the centre name of INS certification in Kolkata.
What is link edit in cobol?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
How do you reference the following file formats from cobol programs?
What are all the divisions of a COBOL program?