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.

Thanks for directing me!
Billy

-- 
Thank you and best regards,
*Billy Ashton*

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to