In reply to John.

Sorry I didn't see this earlier. Oh, I never noticed the error. It should have read "proc print data=&dsn (Obs=&obs); Thanks for pointing this out to me.