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.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!
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.