Hi everyone,
My purpose is to share a SAS output stored as csv/xlsx/txt file under SAS Content folder through e-mail. I'm trying to attach the file by referencing it but since SAS run on Unix/Linux , the path and filename I give does not reflect the true path & filename.
Is there any function or efficient way to obtain name & location of a file locates any of folders under SAS Content?
Thank you,
Eren
Hi Kurt_Bremser,
I fixed the problem by changing the folder path to /PUBLIC/ and taking the filename name given in the log.
Thank you !
Eren
How do you create the output files? SAS will show the full location in the log, and the code will also have the location present in some form (the location string may be built out of macro variables, so you need the contents of those).
Please post the complete log of your PROC EXPORT step and the DATA step that sends the mail. Both should be run in immediate succession.
Hi Kurt_Bremser,
I fixed the problem by changing the folder path to /PUBLIC/ and taking the filename name given in the log.
Thank you !
Eren
What kind of file do you create?
Which of the tools provided by EG do you use (code node, export wizard)?
Please post the complete log by copy/pasting it into a window opened with this button:
filename x '.';
%let path=%sysfunc(pathname(x));
%put &=path. ;
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.
Find more tutorials on the SAS Users YouTube channel.