ICETOOL (as well as the other vendors products) support multiple sorts and merges in a single jobstep.
On Mon, 3 Aug 2015 15:33:46 -0400 Bill Ashton <bill00ash...@gmail.com> wrote: :>Good afternoon, friends! I thought this should be easy, but I can't get :>started with this. :>I have one "transaction" file that I need to add to 3 different "master" :>files. The master files are in 3 different sequences, so I can't just sort :>the trans file and MOD it to the end. Also, because I don't know which day :>of this week the file will come in, I need to run this every day, and so :>need to also drop my duplicate entries, as I know the trans file is unique. :>Can this be done in a single sort step? :>For the sake of argument, assume these sorts: :>File1 - sort Char data in cols 10-15 :>File2 - sort Char data in cols 73-81 :>File3 - sort Char data in cols 40-47 :>Each file, when master & trans are combined, will all have the same data, :>just in different order. -- Binyamin Dissen <bdis...@dissensoftware.com> http://www.dissensoftware.com Director, Dissen Software, Bar & Grill - Israel Should you use the mailblocks package and expect a response from me, you should preauthorize the dissensoftware.com domain. I very rarely bother responding to challenge/response systems, especially those from irresponsible companies. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN