Asked MF Faqs

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

http://www.glassdoor.com/Interview/india-mainframe-interview-questionsSRCH_IL.0,5_IN115_KO6,15.htm 1 How to compare two files in COBOL and print the common records into a flat file.?

The files should be in sorted order. Do comparing until end of both the file's records. take 1st record of FileA and d same of FileB - compare If matched then write else if RecA>RecB then go to next record of FileA & compare & if RecA>RecB then go to next record of FileB & compare 2.

You might also like