Understanding the Log Structure

The Components of a SAS Log

The SAS log provides valuable information that helps you identify problems when you execute your programs. The SAS log is especially helpful if you have questions and need to contact on-site SAS personnel or SAS Technical Support. The contents of the log aids in diagnosing your problem.
The log contains the following elements:
  • SAS statements for the DATA and PROC steps
  • error messages
  • notes and warning messages
  • notes that contain the number of observations and variables for each data set that is created

Messages in the SAS Log

SAS performs error processing during the compilation and execution phases of your program, and writes note, warning, and error messages ...

Get Step-by-Step Programming with Base SAS 9.4 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.