Date: Sat, 6 Mar 1999 09:33:51 +0530
Reply-To: "Mohanty, Debasmit (CAP)" <Debasmit.Mohanty@GEIND.GE.COM>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: "Mohanty, Debasmit (CAP)" <Debasmit.Mohanty@GEIND.GE.COM>
Subject: Re: Using e-mail with SAS 6.12
Content-Type: text/plain; charset="iso-8859-1"
Jim:
First you need to make the following changes in your config.sys file
-emailsys smtp
-emaildlg sas
-emailid <your login name>
-emailserver <mail-server's IP Address or domain name>
then you need to run the following code :
FILENAME mail EMAIL "Debasmit.Mohanty@geind.ge.com"
SUBJECT="Test Mail from Data Step of SAS";
DATA _NULL_;
FILE mail;
PUT "This is a test message from Debasmit.";
PUT "This test mail has been generated from SAS Data Step";
PUT "!EM_CC!Shrikant.Dash@geind.ge.com";
PUT "!EM_SEND!";
RUN;
Hope this Helps.
Debasmit
g GE Capital
_________________________________________________
Debasmit SR Mohanty
Assistant Manager - Systems
GE Capital Card Services - I M
A-1, Golden Enclave, Airport Road,
Bangalore - 560 017, India
Phone : +91-80-527 5535 Ext 107
Mobile : +91-98440-25340
Fax : +91-80-527 5930
Internet : Debasmit.Mohanty@geind.ge.com
URL : http://www.angelfire.com/me/debasmit/
<http://www.angelfire.com/me/debasmit/>
Disclaimer: The opinion herein expressed are of mine and
Does not reflect that of my employer
_________________________________________________
From: ownersasl0001 [SMTP.ownersa2]@SSW
Location: , ,
Extension:
Date: 5 March 1999, 4:32 p.m.
Using e-mail with SAS 6.12
I've been trying to have my SAS programs send me e-mails at various
points throughout the program. I set up my config file as per
instructions I found at the SAS web site. I keep getting the
following
error:
<Log file begin>
1 *
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~ ~~; 2 options nocenter errors=5 macrogen; 3 *
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~ ~~; 4 5 * This sends a message to Jim as to status (need
something else for this to work), like:; 6 filename message email
"linck@ssb.rochester.edu"
subject="MeasureQtrlyCFandEconExpos_a.sas"; 7
data _null_; 8 file message; 9 put "Hey Jim,
program
MeasureQtrlyCFandEconExpos_a.sas is now complete!"; 10 run;
NOTE: The file MESSAGE is:
E-Mail access method
ERROR: E-mail initialization failure. Verify that E-mail is
installed
NOTE: The SAS System stopped processing this step because of errors.
NOTE: The DATA statement used 0.05 seconds.
<Log file End>
I use MS Outlook 98 as my e-mail package (exchange mail server). On
one
machine, I run WinNT; on another, I run Win98. Do I have to have
OUlook
open and running for this to work? Thanks.
Jim