Previous Page | Next Page

Analyzing Your SAS Session with the SAS Log

Review of SAS Tools


Statements

The following statements are used to write to the log and to change the log's appearance:

LIST;

lists on the SAS log the contents of the input buffer for the observation being processed.

PAGE;

skips to a new page on the log.

PUT <variable-list> | <_ALL_>;

writes lines to the SAS log, the output file, or any file that is specified in a FILE statement. If no FILE statement has been executed in this iteration of the DATA step, then the PUT statement writes to the SAS log. Variable-list names the variables whose values are to be written, and _ALL_ signifies that the values of all variables, including _ERROR_ and _N_, are to be written to the log.

SKIP <n>;

on the SAS log, skips the number of lines that you specify with the value n. If the number is greater than the number of lines remaining on the page, then SAS treats the SKIP statement like a PAGE statement and skips to the top of the next page.


System Options

The following system options are used to suppress information to the log. In this section, they are specified in OPTIONS statements.

ERRORS=n

specifies the maximum number of observations for which error messages about data input errors are printed.

NOTES|NONOTES

controls whether notes are printed to the log.

SOURCE|NOSOURCE

controls whether SAS statements are printed to the log.

SOURCE2|NOSOURCE2

controls whether secondary SAS statements from files included by %INCLUDE statements are printed to the log.

Previous Page | Next Page | Top of Page