The SHRMACS
macro also loads the applications systems tables that associate aliases
with server names and associate libraries with aliases. These tables
are used to generate the server name for the PROC SERVER, PROC OPERATE,
and LIBNAME statements. Based on what is specified in the first argument,
the server-alias and library-alias tables can be written to the SAS
log if you specify the MSG or the HELP argument in the SHRMACS macro.
For example,
%shrmacs(user);
%shrmacs(user,help);
%shrmacs(oper,help);
%shrmacs(server,msg);
%shrmacs(all,msg);
Early
in its execution, the SHRMACS macro invokes PROC SQL to obtain the
current settings of the SAS options NOTE, SOURCE2, and LINESIZE= and
saves them in macro variables that are named _NOTES_, _SRC2_, and
_LS_, respectively. The original values of these options are restored
after the settings have been changed by SHRMACS or other
SAS/SHARE
macros. You can avoid the overhead of this PROC SQL step by explicitly
setting the macro variables to the values that you want. For example:
%let _notes_=notes;
%let _src2_=nosource2;
%let _ls_=70;