Hello all,
So I have been trying to figure out how to subtract matching records from a dataset.
So in file 1 there would be the following
AAA
AAA
AAA
BBB
BBB
CCC
DDD
EEE
And in file 2:
AAA
AAA
BBB
EEE
So anything found in file 2 should be removed from file 1 which would leave me with:
AAA
BBB
CCC
DDD
I have been racking my brains trying to figure out how to do this, I was thinking along the lines of using sequence numbers or maybe using an OMIT, but I am not sure how to only OMIT record by record.
I have not found any examples of SORTS like this, is this even possible?
I have read the manual for a while but there is so many possibilities with DFSORT I have no idea which route to go down.
I would appreciate any advice or pointers on this.
Thanks!