Date: Mon, 13 Nov 2000 11:24:29 -0500
Reply-To: "Hanan, Thomas J" <HananTJ@AETNA.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Hanan, Thomas J" <HananTJ@AETNA.COM>
Subject: e-mail attachments from Open-VMS SAS?
Content-Type: text/plain; charset="iso-8859-1"
Hello SAS-L,
Background info: Running SAS 6.12, TS060 on Open-VMS, Alphaserver model
8400.
I'm trying to set up a SAS job which notifies users when their files are
ready, and I'd like to attach their files to the note if possible. I'm
afraid this option may not be available on Open VMS since I can't seem to
find it in the documentation anywhere, but I thought I'd throw it out to you
to see if anybody had found a way to do this. The code that I'm running
looks like this:
Filename mail email 'xxxx@aetna.com'
subject="This is a test...";
Data _null_ ;
file mail;
put 'Here is the file you requested.';
put '!em_attach!' "DISK_DEV:[HANAN.SASPROGS.HOLPRE]TEMP.TXT" ;
run ;
This type of logic works fine in Windows, but I don't see anything in the
Open VMS documentation that says anything about the "EM_ATTACH" keyword.
When this is run, the note gets sent, but no attachment comes across.
Any ideas?
Thanks in advance,
Tom
|