Date: Thu, 1 Mar 2012 16:15:10 -0600
Reply-To: Joe Matise <snoopy369@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Joe Matise <snoopy369@GMAIL.COM>
Subject: Re: Using an AUTOEXEC on a Server
In-Reply-To: <201203012210.q21JpdvY025625@waikiki.cc.uga.edu>
Content-Type: text/plain; charset=ISO-8859-1
Are you using SAS via EG, or by logging into a server? I think either way
your answer will probably be 3) or something similar, but it will depend to
some extent on what OS and method you're using to access SAS. I know some
of them but not others, but someone will know the one you're using :)
-Joe
On Thu, Mar 1, 2012 at 4:10 PM, Mary Rosenbloom <
mary.rosenbloom.sas@gmail.com> wrote:
> Hi all,
>
> I would like to create an autoexec file for myself, and would like to
> compile that code every time that my SAS session boots up. I have never
> created an autoexec file before.
>
> I found this usage note:
> http://support.sas.com/kb/3/327.html#
>
> which says this:
>
> How do you use the Autoexec system option in the SAS System Version 8 on
> the Windows Platform?
>
> 1) You can create an autoexec.sas file and place it in the sasroot
> location (where your sas.exe is located). The default location is
> \Program Files\SAS Institute\SAS\V8
>
> 2) You can add a line to your sasv8.cfg file (configuration file).
> Note: It is very important to have this as the very first line in
> the sasv8.cfg file.
>
> Example:
> -autoexec c:\mydata\autoexec.sas
>
> 3) If you have an icon on your desktop that invokes the SAS System,
> right click, bring up properties, click on the shortcut tab and on
> the target line add this to the very end of the line.
> -autoexec c:\mydata\autoexec.sas
>
> *Note: Make sure there is a space before the -autoexec on the target
> line.
>
>
> Now here's my question:
> I use SAS on a server. So, everyone in my group uses the same
> application. I'm assuming that I can choose one of the options above. Am
> I right that if I choose #1 or #2 above that EVERYONE in my work group
> will get same autoexec file compiled at the start of their session? If I
> choose #3 will that work just for me?
>
> Thanks so much for your help!
>
> Cheers,
> Mary O.
>
|