[prev in list] [next in list] [prev in thread] [next in thread]
List: sas-l
Subject: usage notes: site macros
From: "Fehd, Ronald J." <rjf2 () CDC ! GOV>
Date: 2000-09-29 18:20:32
[Download RAW message or body]
What it takes to write a paper!
I would appreciate your collective comments on this setup
which is supposed to take care of the following cases:
* project uncompiled macros present in SASUSER
* MySite uncompiled macros available
* MySite compiled macros available
* system uncompiled macros available
The file SiteMacr.sas
is planned to be %included in the autoexec.sas of a project
Ron Fehd the macro maven CDC Atlanta GA USA RJF2@cdc.gov
OpSys: WinNT Ver: 8.1
- - - - - autoexec.sas - - - -
%include 'r:\data\mpep\sasmacro\sitemacr.sas';
- - - - - autoexec end - - - - -
;/*SiteMacr.sas
RJF2 00Sep29
NOTE: SASMStore= must be on one line
ERROR 19-12: SAS option SASMSTORE,
requires an option value that contains a maximum of 32 character(s).
;/* . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . */
LIBNAME SITEMACR ("r:\data\mpep\sasmacro"
); %*contains catalog SASMACR.sas7bcat;
FILENAME SITEMACR ("r:\data\mpep\sasmacro"
,"r:\data\mpep\sasinclu"
); %*contains uncompiled macros;
options SASAUTOS = ( SASUSER
, SITEMACR
, SASAUTOS
) %*search fileref(s) for MacroName(.sas);
MautoSource %*autocall on;
MStored %*compiled & stored macros available;
SASMStore=(LIBRARY SITEMACR);
%*search libref(s) for catalog(s) SASMACR
with stored & compiled macros;
%*check your work;
%PUT SASAUTOS filerefs: %sysfunc(getoption(SASAUTOS));
%PUT SASAUTOS directories: %sysget(SASAUTOS);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic