LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (October 2006, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Sun, 15 Oct 2006 17:13:55 +0000
Reply-To:     toby dunn <tobydunn@HOTMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         toby dunn <tobydunn@HOTMAIL.COM>
Subject:      Re: configuring autoexec.sas & config files
Comments: To: shanks.n@GMAIL.COM
In-Reply-To:  <uslhpcy4z.fsf@gmail.com>
Content-Type: text/plain; format=flowed

Shanks ,

Remember to always make back ups before you make changes:

Here is a starter paper:

http://www2.sas.com/proceedings/sugi30/267-30.pdf

Toby Dunn

When everything is coming at you all at once, your in the wrong lane.

A truly happy person is someone who can smile and enjoy the scenery on a detour.

From: Shanks N <shanks.n@GMAIL.COM> Reply-To: Shanks N <shanks.n@GMAIL.COM> To: SAS-L@LISTSERV.UGA.EDU Subject: configuring autoexec.sas & config files Date: Sun, 15 Oct 2006 22:30:28 +0530

I have been tasked with modifying the CFG files in SAS versions 9.x & 8.2.

Rather than hosing the system, I thought I'd plug the changes into the AUTOEXEC.SAS file. This is just to set the email and smtp settings; -EMAILID,PW & EMAILSYS parms.

This is on a WINXP box.

1. Can the AUTOEXEC.SAS be put in the same place as the CFG file in NLS\en\ folder?

2. In future, can the macros and fmtlibs file path also be plugged into the same? I put a line in the AUTOEXEC.SAS file -SET SASAUTOS {"c:\<project>\macros"} Going by the documentation,it appears that the above is searched last as the config files are read BEFORE AUTOEXEC.SAS. Is my understanding correct?

3. Assuming, I don't want to touch CFG file, can everything be done in the AUTOEXEC.SAS file?

4. If I were to edit the CFG file, I need to make the changes before this line? i.e. it needs to look like this...

-SET SASAUTOS {"c:\<project>\macros"}

WARNING: INSTALL Application edits below this line. User options should be added above this box comment. INSTALL Application maintains and modifies the following options; -SASAUTO, -SASHELP, -SASMSG ...

& in this case, this macro path is seen BEFORE the system defined ones?

5. Is it different for 8.2?

Going through the SAS help on this topic

Getting Started under Windows --> Files Used by SAS

is numbingly confusing, at least for me.

regards, Shanks --


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