I have a SAS macro string defined as:
%let datasets =
lib.d1
lib.d2
lib.d3
;
The string is a macro variable. Each element is a dataset with the library name. The elements are separated by line breaks. Now I want to split the elements and iterate through them one by one. I would like to use %scan for this but I don't know how to setup %scan so it can use delimiter of line break rather than the dot character which is in the default delimiter list. Any suggestions?