Can i extract datasets starting with "ab_" from a folder and append them using a datastep or proc sql without naming each and every dataset name
Yes
data ab1;x=1;run;
data ab2;x=2;run;
data cd1;x=1;run;
data cd2;x=2;run;
data want;
set ab:;
run;
Yes
data ab1;x=1;run;
data ab2;x=2;run;
data cd1;x=1;run;
data cd2;x=2;run;
data want;
set ab:;
run;
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.
Ready to level-up your skills? Choose your own adventure.