I have two sequential files, FILE-1 and FILE-2.
FILE-1 contains 2 columns(A,B) and FILE-2 contains 3 columns
(C,D,E).I want an output file, FILE-3 which has all five
columns with duplicates eliminated from column A.

Answers were Sorted based on User's Feedback



I have two sequential files, FILE-1 and FILE-2. FILE-1 contains 2 columns(A,B) and FILE-2 contains ..

Answer / sandeep

merge the colums.

Is This Answer Correct ?    3 Yes 0 No

I have two sequential files, FILE-1 and FILE-2. FILE-1 contains 2 columns(A,B) and FILE-2 contains ..

Answer / gupta

Merging of file in this manner can be done by Splice function of ICETOOL, and also duplicates can be removed.this is the easiest way..

Is This Answer Correct ?    3 Yes 0 No

I have two sequential files, FILE-1 and FILE-2. FILE-1 contains 2 columns(A,B) and FILE-2 contains ..

Answer / gech

How do we merge without the defining the key?
is this just 1 is to 1 and all 5 fields are to be the key
to determine the duplicate?
so therefore my answer is "the question is incomplete".

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More COBOL Interview Questions

What is the difference between a binary search and a sequential search?

3 Answers  


How to declare if emp-name = AAAAA""BBB in working-storage section. After display emp-name should print like AAAAA""BB

6 Answers   Polaris,


wirte a pgm in using files in which we hav 10 ,20,30 40...100 records in inputfile and i want them to be send to outputfile in reverse order. PLZ HELP ME OUT .........THIS IS A RECENT QUESTION IN IGATE..

5 Answers   iGate,


sample code for read a 2nd record from last in flatfile how can do?

4 Answers   iNautix,


What are differences between Static Call and Dynamic Call?

10 Answers   IBM, KBC, Keane India Ltd, Verizon,


What is 77 level used for ?

12 Answers   IBM, iGate,


If a file has 1000 records.. if i have to replace the first and last characters of the file with another character. how it can be done....

1 Answers   HCL,


example for sub strings ? and refernce modifications whit output pls

0 Answers   College School Exams Tests, IBM,


How to code fscode 10 in cobol program? Where yoy code in your pgm?give ans for the question.

2 Answers   IBM,


Why did you choose to work with ibm mainframe cobol programming?

0 Answers  


is it possible to declare index in cobol program? if it is not why its tell me pls

3 Answers  


how to transfer the file from pc to mainframe??

2 Answers  


Categories