hey, i am working in sas eg on a sas server. i can create an xls, say outfile.xls, in the working directory but i need it in another directory, say /sas/sas01/project/output/. so i need a way to either copy the xls to another directory or create it in another directory and i am having issues figuring that out. here is how i am creating it...
ods html file="WORK.OUTFILE.xls";
proc print DATE=DATAFILE;
run;
ods html close;
when i tried just subbing in the directory, that failed. then i tried using a libref and that failed....
thanks, stupid me forgot to create the output directory and didnt realize it....once i did that, subbing in the directory worked great.
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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: