I have three libraries for eg lib a, lib b, lib c
And that lib a has 10 data sets like ae, demo, concom, etc... And so does
lib b and c.... I have to write a common program using macro ...than
separate pogram for each 3 library ..
So you need something like
%macro mymac(lib);
proc print data=&lib..ae;
run;
%mend;
%mymac(a)
%mymac(b)
%mymac(c)
?
Please be more specific. Describe your situation, and what you want to achieve from that.
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.