I'm learning SAS and I'm looking for ways to make my code better. For assignments, I start by pulling the files I need from a public library into my work library. Right now, I am writing out a DATA SET step for each file pull. For example, if I know I need to work on three files, I start my assignment with the code below:
data dataset1; set public.dataset1; run;
data dataset2; set public.dataset2; run;
data dataset3; set public.dataset3; run;
Is there a way to simplify this? And what are your thoughts on best practices, if any?
... View more