02-18-2013 06:21 PM
Use double quotes on the outside to allow macro variable references.
set one ;
filename dirlist pipe "ls -R ""/data/set1/&year"" " ;
02-18-2013 11:24 PM
Try this with single quotes around the file path:-
filename dirlist pipe '/data/set1/&year.';