|
> 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
|