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

What is the LINKAGE SECTION used in COBOL?

892


What is amode(31)

724


Whats the difference between search & search ALL?

5264


What are 77 levels used for?

660


how do you define single dimensional array and multidimensional array in your cobol?

678






How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

710


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5065


) how do u code after getting data?

1580


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

825


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

686


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2100


How do you get the data to code the BMS macro?

1476


What type of SDLC u followed? Why?

1520


Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks

2337


i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

1773