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

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

0 Answers  


what is the difference between implicit and explicit scope terminator with example? 

1 Answers  


Suppose, file A has 100 records and file B has 500 records. We want to write records common to both A and B into file C and records which are present only in either A or B into another file D. What should be the logic of Cobol program to achieve this?

7 Answers   Bank Of America, Mind Tree,


How To move a value to an array using move verb?

3 Answers   IBM,


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

10 Answers  






How do define dynamic array in cobol.

0 Answers  


We know that size of redefine and redefining need not to be same..Then does the below case true 01 ws-date pic 9(6). 01 ws-redf-date REDEFINES ws-date 05 ws-year pic 9(4) 05 ws-mon pic 9(2) 05 ws-day pic 9(2)

1 Answers   Cap Gemini,


What does EXIT do ?

3 Answers   Deloitte,


what is the advantage of using redefines instead of delaring the variables ?

5 Answers   HCL,


What is Pic 9v99 Indicates in COBOL?

0 Answers   SwanSoft Technologies,


How can you declare the file ?

1 Answers   Wipro,


How do you come out of an EVALUATE statement?

3 Answers  


Categories