You want to use a by statement to fill in the blanks: proc expand data=have out=want from=minute to=minute observed=end method=none; by id; id minute; run; You can write out the log to anywhere you want but I never recommend doing this. It would go like this: proc printto log="/sas/user_data/local/filename.log"; run; proc expand data=have out=want from=minute to=minute observed=end method=none; by id; id minute; run; proc printto;run; Anytime I've used this the log was unusable, I would advise you to find out why you are getting the warnings and try to make an adjustment. If the warnings make the other part of the log unusable then I might do this but I only use it as a last resort.
... View more