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
A table has two indexes defined. Which one will be used by the SEARCH?
IF I mention stop run in CICS what happens?
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 ......
What do you understand by psb and acb?
What are literals?
What is the difference between binary search and sequential search?
Describe the cobol database components?
How do you reference the fixed block file formats from cobol programs
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
Name some of the examples of COBOl 11?
Why did you choose to work with ibm mainframe cobol programming?
What rules are followed by the search verb.
Explain the configuration section of a cobol program with examples of syntax.