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.

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write the code implementing the perform … varying.

820


how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

2137


1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?

5597


Which division and paragraphs are mandatory for a COBOL program?

919


I have a File that has duplicate records. I need only those records that occur more than thrice.?

9232


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

2226


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

11509


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

903


How you can characterize tables in cobol?

917


IF I mention stop run in CICS what happens?

2087


What are the various section in data division and briefly explain them.

908


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

1852


Define cobol?

1073


how do you reference the printer file formats from cobol programs

886


) what is the difference between AID and HANDLE AID?

1883