To run a macro you first run the macro definition code and then you call it separately. ie pretend macro: %macro print(dsn=); proc print data=&dsn.; run; %mend; THen to call it you use: %print(sashelp.class); I think you're mixing up the macro and the macro call.
... View more