Could you have multiple records in basemulti with the same mem_id and mem_day?
Easy thing to do is to sort MultiWithMaxDate by mem_day and create a dataset that has the duplicates (data dup;set multiwithmaxdate;by mem_day;if first.mem_day and last.mem_day then delete;) then look at the duplicates.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.