LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (March 2012, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Thu, 1 Mar 2012 14:36:22 -0800
Reply-To:   Mary Rosenbloom <mary.rosenbloom.sas@GMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Mary Rosenbloom <mary.rosenbloom.sas@GMAIL.COM>
Subject:   Re: Using an AUTOEXEC on a Server
Comments:   To: Joe Matise <snoopy369@gmail.com>
In-Reply-To:   <CAM+YpE-BRJD_=Fw3FtGSuSR5Mi054=c+Zp7B0xofuUsLi8AapA@mail.gmail.com>
Content-Type:   text/plain; charset=ISO-8859-1

Sorry!

It is a Windows 2003 terminal server. Multiple users log in at the same time, and it is like you have a second computer. However, when I log in I get my own desktop wallpaper, etc, so the environment is somewhat customized for me. I'm not sure what the technical name for that would be.

All users use the same sas.exe file and the same .cfg file.

On Thu, Mar 1, 2012 at 2:32 PM, Joe Matise <snoopy369@gmail.com> wrote:

> Unix, Windows, Mainframe? How do you log in to the server - is this a > concurrent use server, or single user at a time? > > -Joe > > > On Thu, Mar 1, 2012 at 4:31 PM, Mary Rosenbloom < > mary.rosenbloom.sas@gmail.com> wrote: > >> Hi all, >> >> I'm on 9.3, not using EG. >> >> Cheers, >> Mary >> >> On Thu, Mar 1, 2012 at 2:22 PM, Bolotin Yevgeniy >> <YBolotin@schools.nyc.gov>wrote: >> >> > if the autoexec gets ran for everybody, see if you can make your code >> > conditional by using the following two macro variables >> > >> > >> > %put &SYSHOSTNAME.; /* your computer name */ >> > >> > %put &SYSUSERID.; /* your windows login name, unix id, or whatever */ >> > >> > -----Original Message----- >> > From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of >> > Mary Rosenbloom >> > Sent: Thursday, March 01, 2012 5:10 PM >> > To: SAS-L@LISTSERV.UGA.EDU >> > Subject: Using an AUTOEXEC on a Server >> > >> > 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. >> > >> >> >> >> -- >> Cheers, >> Mary F. O. Rosenbloom >> http://www.sascommunity.org/wiki/User:Otterm1 >> > >

-- Cheers, Mary F. O. Rosenbloom http://www.sascommunity.org/wiki/User:Otterm1


Back to: Top of message | Previous page | Main SAS-L page