Can I use Insync or Syncsort or some other util to allow me to combine the records from Files A and B to get records as shown in File C? The key I need to match on in this case is the first 26 characters in Files A and B. I don't have File Aid in my shop, so that is out. Any suggestions would be much appreciated.
Joined: 03 Jan 2003 Posts: 283 Topics: 27 Location: US
Posted: Tue Aug 26, 2003 10:55 pm Post subject:
Pudah,
This topic has been discussed many times. Search for "Merging records laterally" and you should find some hits posted by kolusu, which is identical to your requirement.
Joined: 20 Jun 2003 Posts: 27 Topics: 8 Location: East of the Rock, West of the Hard Place
Posted: Wed Aug 27, 2003 5:37 am Post subject:
Thanks coolman. I had tried a search before posting my question but I guess I didn't use the right terminology. I will scan for the phrase you suggested. Thanks for the tip.
Pudah,
This job will do the work for you. It basically puts the data from File 1 ( pos 60-69) into file 2 on matching records. Since I am a novice in SORT, I am sure this job can be written in a better way.
Joined: 20 Jun 2003 Posts: 27 Topics: 8 Location: East of the Rock, West of the Hard Place
Posted: Thu Jan 08, 2004 9:14 pm Post subject:
Discovered today that I could use the Insync WORKAREA feature to accomplish this task. I first sorted the two files into one with Syncsort so that the matching records would be one after another. I then used that sorted combined file as the input the Insync portion of the job.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum