Diagnosing and Avoiding Errors |
To better understand the errors that you make so that you can avoid others, it is important to understand how the SAS Supervisor checks a job. The SAS Supervisor is the part of SAS that is responsible for executing SAS programs. To check the syntax of a SAS program, the SAS Supervisor does the following:
the forms and types of statements that can be present in a DATA step
the types of statements and the options that can be present in a PROC step
To process a program, the SAS Supervisor scans all the SAS statements and breaks each statement into words. Each word is processed separately; when all the words in a step are processed, the step is executed. If the SAS Supervisor detects an error, then it flags the error at its location and prints an explanation. The SAS Supervisor assumes that anything it does not recognize is an error.
Copyright © 2012 by SAS Institute Inc., Cary, NC, USA. All rights reserved.