View previous topic :: View next topic
|
Author |
Message |
shab7002
New User
Joined: 19 Feb 2013 Posts: 2 Location: india
|
|
|
|
Hi,
I have two file FileA & FileB.
File A has 4 fields ( AAcct,Abatchno,Adate,Aamt) fileB has 4 fields (BAcct,Bbatchno,Bdate,Bamt).
Now,
Abatchno is PD
Adate is PD
Aamt is PD
--------------------
Abatchno is numeric
Adate is numeric
Aamt is numeric
----------------------------------
I want to match this files on (batch,date and amt), can we do it in single step?? |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Yes. |
|
Back to top |
|
|
daveporcelan
Active Member
Joined: 01 Dec 2006 Posts: 792 Location: Pennsylvania
|
|
|
|
Good job Bill, you are a quick study. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
thats a direct consequence of any forum postulate
if <You> do not like Yes/No answers, do not ask Yes/No questions |
|
Back to top |
|
|
shab7002
New User
Joined: 19 Feb 2013 Posts: 2 Location: india
|
|
|
|
Ok...now can someone please provide some example easy sort/easytrive to complete above matching logic.?????? no Y/N Please |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Google is your friend. Googling easytrieve file match returned 9530 matches and THE VERY FIRST HIT contains sample code showing how to do file matching in Easytrieve.
Rather than spending 3 hours waiting for an answer on this forum, you could have resolved your own question in a matter in minutes. |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
There are many examples here for Sort, if you search the site for JOINKEYS. There will be examples in the manuals of whichever product you have.
In your Easytrieve Plus manual, look for Synchronised File processing. You can also find examples/disucssion in this part of the forum. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello and welcome to the forum,
In both the Sort and CA parts of the foru are examples of processes that do what you want.
Clone one and modify for your specifics. If there are questions or problems, someone will be here. |
|
Back to top |
|
|
|