BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi,
I am sending an e-mail with attachment txt file which is created in the above DATA step of the mainframe SAS program. While in first time run, the sas program giving error for email as ERROR: Error opening attachment file TSA.DEVL.RM81251.T0457.DEC07. And also i am recieving the empty file through mail. when i tried in 2nd time it runs fine. Please help to resolve this problem.

Thanks,
Selvi
4 REPLIES 4
deleted_user
Not applicable
I expect you used a FILENAME statement to define the attachment file outside of the data step that creates it. You may need to clear the FILEREF first to force the data to be flushed to the file, then reissue the FILENAME statement again to "open" the file for the attachment.
Cynthia_sas
SAS Super FREQ
Hi:
Sending email from z-OS starts on page 134 of the SAS companion:

http://support.sas.com/documentation/onlinedoc/91pdf/sasdoc_91/base_hostzos_6970.pdf

cynthia
deleted_user
Not applicable
Hi ,

I am sending e.mail everyday, before it sent it is asking yes no cancel options. is there any way to bipass this.

I mean i want send e.mail directly without block.

Please let me know is there way?

Thanks
suresh
Cynthia_sas
SAS Super FREQ
Hi:
If you are talking about Outlook, these Tech Support Notes might be relevant:
http://support.sas.com/kb/9/243.html
http://support.sas.com/kb/5/335.html

Otherwise for other operating systems, consult the SAS Companion for your operating system or contact Tech Support.

cynthia

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!

How to Concatenate Values

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.

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
  • 4 replies
  • 1341 views
  • 0 likes
  • 2 in conversation