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

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 693 views
  • 0 likes
  • 4 in conversation