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.
CFC_SAS_Communities_400x225.jpg
It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.
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.