BookmarkSubscribeRSS Feed
Chuy
Calcite | Level 5

Hi all,

EG 4.305 on Windows XP, server is Linux 64.

I have a Process Flow that uses a SAS data set, SASHELP.CLASSFIT, then exports as a Step In Project as a csv file,

CLASSFIT.csv, which is written to a directory on the Linux server.  I then right click the csv file and use Sent To . .. E-mail Recipient as a

Step In Project...  When email is recieved the file name and extension are changed. The name is changed to some

cryptic long name and the file extension is now txt.

Is this the intended behavior or is this an issue ?

thanks.

3 REPLIES 3
FriedEgg
SAS Employee

When you save the file on the remote server the email step will obsure the file name because of is on a remote system.  If you modify the export step to save the file to your local computer the issue will not occur.  Alternativly you could choose to program the process yourself and take full control of the operation.

proc export

data=sashelp.classfit

  outfile="/tmp/classfit.csv"

  dbms=csv;

run;

filename eml email to="someone@work" subject="Here is your file" attach="/tmp/classfit.csv";

data _null_;

  file eml;

  put 'Email Body';

run;

Doc_Duke
Rhodochrosite | Level 12

Chuy,

If you have a SAMBA connection to the unix server (essentially treating the unix directories as mapped windows directories), it should work.  I don't have any naming problem picking up files attached to a Solaris Unix server.

The email task in EGuide is handled totally by EGuide, it is not sent to the server for processing, so the file needs to be seen as a Windows file, not as a SAS server file.

Doc Muhlbaier

Duke

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 618 views
  • 0 likes
  • 4 in conversation