Desktop productivity for business analysts and programmers

Attached filename in Enterprise Guide distributed email is gibberish

Reply
Occasional Contributor
Posts: 8

Attached filename in Enterprise Guide distributed email is gibberish

Hello, 

 

I am using SAS Enterprise Guide (7.1) to send an e-mail with an attached excel spreadsheet using the distribute wizard. I create a table, export it to an excel spreadsheet and then use the "E-mail recipient as step in project" option to send the excel spreadsheet via e-mail. The process works in that the file is sent with the correct contents however the name of the attached file is alphanumeric gibberish (e.g. 5660e56c39ef4a52b11764898ea8307d.xlsx). Also when the file is opened I get an error that the "File format and the extension don't match".

 

I've tried two different methods of exporting the data that result in the same issues:

 

ods excel file="/home/user/UserReport.xlsx";
proc print data=WORK.rel_req_det ;
run;
ods excel close;

and

 

filename rel "/home/user/Related Release Details Report";
proc export data=rel_req_det
outfile=rel
dbms=xlsx replace;
sheet="Data";
run; 

 

Any thoughts on why this is happening and how to fix it? I could also have the spreadsheet sent to myself where I fix it before sending it on but that seems tedious.

 

Thanks!

Super User
Posts: 20,252

Re: Attached filename in Enterprise Guide distributed email is gibberish

What SAS version do you have?

Occasional Contributor
Posts: 8

Re: Attached filename in Enterprise Guide distributed email is gibberish

The server is using SAS version 9.04.01M4P110916. I am using Enterprise Guide version 7.1

Ask a Question
Discussion stats
  • 2 replies
  • 100 views
  • 2 likes
  • 2 in conversation