To use your own autocall macros in your SAS programs, you must tell SAS where to
find them using the SASAUTOS system option. The syntax of the SASAUTOS option is
given in
SASAUTOS System Option: Windows.
You can set the SASAUTOS system option when you start SAS, or you can use it in an
OPTIONS statement during your SAS session.
You can also edit your SAS configuration file to add your autocall library to the
library concatenation that is supplied by SAS,
as in the following example:
-sasautos ("c:\mymacros"
"!sasroot\core\sasmacro"
"!sasroot\base\sasmacro"
"!sasroot\stat\sasmacro"
more library specifications
)
Autocall libraries are searched in the order in which you specify them. If you use
the preceding SASAUTOS option setting and call a macro named PRTDATA, the directory
C:\MYMACROS is searched first for the macro; then each of the !SASROOT libraries
is searched.