The primary
source of information for solving problems that occur within SAS software
is the SAS log. The log lists the SAS source statements along with
notes about each step, warning messages, and error messages. Errors
are flagged in the code, and a numbered error message is printed in
the log. It is often easy to find the incorrect step or statement
just by glancing at the SAS log.
Note: Some errors require that
diagnostic messages are written before the SAS log is opened or after
it is closed. Such messages are written to the SASCLOG data set. Under
TSO, SASCLOG is normally allocated to the terminal. Occasionally,
operating system error messages might be issued during execution of
a SAS program. These messages appear in the job log or, under TSO,
on the terminal.