In order to use autocall
macros in SAS, you must set the MAUTOSOURCE system option. When SAS
starts, the MAUTOSOURCE option is set, and no further action is required
unless this option is turned off.
The logging facility
autocall macro %LOG4SAS must be invoked before SAS processes any other
logging facility autocall macros. The %LOG4SAS autocall macro defines
all other logging facility autocall macros to the SAS session. You
can invoke the %LOG4SAS autocall macro in an autoexec file, in an
INITSTMT= system option, or at the beginning of your SAS program.
After the MAUTOSOURCE
system option is set and the %LOG4SAS autocall macro has been invoked,
you can invoke any of the logging facility autocall macros in your
SAS program.