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 (November 2006, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 20 Nov 2006 11:18:39 -0500
Reply-To:     "Fehd, Ronald J. (CDC/CCHIS/NCPHI)" <rjf2@CDC.GOV>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Fehd, Ronald J. (CDC/CCHIS/NCPHI)" <rjf2@CDC.GOV>
Subject:      Re: Autoexec.sas
Content-Type: text/plain; charset="us-ascii"

> From: Alwin > We have installed sas on but by default autoexec.sas file > is not present on sas server. > where should I create it on the server?

in general you want a server autoexec in SASroot i.e.: the same folder where you find SAS.exe

however, as already pointed out you or user can specify an autoexec in either * command line * configuration file see: proc options define value option = autoexec;

ex: SAS MyProgram -autoexec '<path>\autoexec.sas'

note: you have to specify the file extension.

for a project folder SAS searches for and executes an autoexec.sas -- and, incidentally, a SASv9.cfg --- in the folder which SASinitialFolder points to if that option is not blank

see also: command-line option echoauto as in: SAS AutoExecTest -echoauto -verbose

proc options define value option = echoauto; proc options define value option = sasinitialfolder;

Ron Fehd the configuration maven CDC Atlanta GA USA RJF2 at cdc dot gov


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