Mikhail Konovalov wrote:
> Hello Richard.
> Sorry for stupid question, but why you need first SET statement? Your
> code reads the dataset 3 times.
> Regards, Mikhail
Not stupid, me stupid.
The SET and BY prior to the first loop are artifacts from an initial code
up. They should not be there.