Thanks for the reply! Because of various reasons (one reason, >10Tb dataset) I must split the data instead of using by statement. The loop macro performs many other steps but I've removed everything that isn't necessary to display here.
... View more