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 2007, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Mon, 12 Mar 2007 15:02:57 -0400
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: where is StoredProcess autoexec
In-Reply-To:   <16FD64291482A34F995D2AF14A5C932C015A711F@MAIL002.prod.ds.russell.com>
Content-Type:   text/plain; charset=us-ascii

> From: Terjeson, Mark > Stored Processes do not seem to pick up SASMain/appserver_autoexec.sas > > Where is the StoredProcess autoexec stored? > What is the name?

the default name for the autoexec is autoexec.sas if there is a file in either: * sasroot * sasinitialfolder then it will be executed

you may use the command-line option autoexec: sas -sysin MyProgram -autoexec <file-spec-without-spaces.sas>

to echo the autoexec statements to the log, use command-line option echoauto: sas AutoExecTest -echoauto -verbose

note: echoauto works like source2 for %included files

where the program AutoExecTest can be the no-brainer: *AutoExecTest;

recommended AutoExecTest statements for testing: Proc Setinit; run; %put _automatic_;

see also: command-line option verbose More Than You Wanted to Know! proc options define value option = echoauto; proc options define value option = verbose; run;

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


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