@ayaz1 wrote:
I'll happily sign up for the group of screamers. Your answer provides no help
If you are having trouble with a specific delimited text file start a new thread and provide the details there.
... View more
First.id is not true (=1) when this is not a new id. You only need first.group :
data test;
set test;
by id group;
if first.group
then enroll_ord = 1;
else enroll_ord + 1;
run;
... View more