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

How many variables can be declared in w-s section.?

2 Answers  


How to resolve the soc4 and soc7 errors?

5 Answers   IBM, RBS,


Can printer files (having 133 characters) be of variable length?

3 Answers  


What is Redefines clause?

8 Answers  


What is the difference between write & move in COBOL?

3 Answers   CSC, HHB,






Without using move verb how to move one variable to another.

5 Answers  


In COBOL, what is the different between index and subscript?

0 Answers   TryTechnicals Pvt Ltd,


Why we need to use redefine clause when we can define the variable seperately... what is actual need....

5 Answers   Accenture,


What guidelines should be followed to write a structured cobol prgm?

0 Answers  


in a indexed file what is procedure for read the records from 12 to 18. please give the code example

2 Answers   L&T,


Why occurs cannot be used in 01 level in COBOL?

0 Answers   Arigo Infotech,


There is a variable with value 19446. Requirement is to convert it to 194.46. I tried it by doing divide by 100 and my receiving field data type is 9(03)v99. But the output is 194. I am not getting the decimal value. Could anyone pls let me know how to get this done?

2 Answers  


Categories