Prepare for your Next Interview
This is a discussion on I want to move matching records from both files to file-C within the MainFrame forums, part of the Software Development category; File-A and File-B have 10 records and I want to move matching records from both the files in file-C and non-matching records in file-D? Without ...
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
|||
|
I want to move matching records from both files to file-C
File-A and File-B have 10 records and I want to move matching records from both the files in file-C and non-matching records in file-D?
Without sorting the both input files. ALL FILES ARE PS. Question asked by visitor Alok |
| Sponsored Links |
|
|||
|
Re: I want to move matching records from both files to file-C
I am replying with simple pseudo code bellow, plz work on it.
Read records of File-A one by one and chk it with all records of File-B. If it matches then write to File-C else write to File-D. |
|
|||
|
Re: I want to move matching records from both files to file-C
Quote:
After this step is over . you are left with only unmatching records in both the files . So write them to file D. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Control file syntax to transfer data from multiple data files | Geek_Guest | Oracle Apps | 0 | 06-14-2007 11:35 AM |
| The system cannot move the file to a different disk drive | chitravallivenkat | Data Warehousing | 0 | 05-23-2007 02:25 AM |
| Can anyone write this Matching Logic? | zyxwv | MainFrame | 0 | 05-16-2007 07:06 PM |
| File Defender - protect your files from unauthorized access with ease! | JobHelper | Geeks Lounge | 0 | 04-17-2007 06:50 AM |
| How many 4Test Script files should be present in the Suit file S1. | JobHelper | SilkTest | 0 | 12-28-2006 06:03 AM |