Date: Tue, 10 May 2005 09:57:38 -0700
Reply-To: cassell.david@EPAMAIL.EPA.GOV
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "David L. Cassell" <cassell.david@EPAMAIL.EPA.GOV>
Subject: Re: email configuration does not take effect
In-Reply-To: <1115659072.209964.77140@f14g2000cwb.googlegroups.com>
Content-type: text/plain; charset=US-ASCII
doqkxl@hotmail.com wrote:
> There is a problem with the email options in my new version 9. The
> email options in the SASV9.CFG file do not seem to have an effect.
> When the options put in the filename statement as follows, the code
> works.
>
> filename mymail email to="to_emailaddress"
> EMAILSYS=VIM
> EMAILID="first_name last_name"
> EMAILPW='xxxxxx'
> from="from_emailaddress"
> subject='test repors';
>
> Ideally, the email options should be stored under the config file like
> this:
> -EMAILSYS VIM
> -EMAILID "first_name last_name"
> -EMAILPW xxxxxxxx
>
> The email options used to work for V8. I am using V9.1 under Window
> 2000. Thx for any suggestion. -Kunling
VIM? Ugh. You're not stuck with Lotus Notes or GroupWise, are you?
Since this worked before, and it works if you set everything in the
FILENAME statement, I'm going to guess that you have an intermediary
SAS 9 config file which has wrong settings in it, and this is
re-setting things after the SASV9.CFG file has run.
Try running your program with the -verbose setting on, so that
you can see the list of all the config files, and you can check each
of them for incipient badness. If you want to alter your icon
description, do it like this:
"C:\Program Files\SAS\SAS 9.1\SAS.exe" -verbose
so the -verbose option gets added.
Ron Fehd has written many times in SAS-L about SAS config files, so
you can go to the SAS-L archives and look up some of his posts for
further enlightenment.
HTH,
David
--
David Cassell, CSC
Cassell.David@epa.gov
Senior computing specialist
mathematical statistician