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

1.Can we define condition-name conditions in FD entry.

11 Answers  


How to display string in the reverse order using occurs clause?

4 Answers  


What is the difference between working storage copybook and linkage section copybook?

5 Answers   TCS,


how to transfer the file from pc to mainframe??

4 Answers  


What is file status 92?

3 Answers  






What is the difference between CALL BY VALUE and CALL BY CONTENT?

7 Answers  


what is the use of comp2 ? where can we use it with example ?

3 Answers   Covansys,


Which division and paragraphs are mandatory for a COBOL program?

0 Answers  


i want to store 20 digits . h will u do it in cobol ?

4 Answers   TCS,


I got user abend U4038 while compiling my runjcl.. can anyone help me?

10 Answers   CGI,


If i have a variable A pic 9(2) value 10 Compute A = a - 100 what will be the value of A and will there be any error becoz of the Negative value

3 Answers   CTS,


i need the code for this program in cobol. 2 + 1 = 3 4+3=7 6+5=11 8+7=15 10+9=19

2 Answers  


Categories