Working with SAS
A SAS program is a sequence of statements: instructions for SAS to do various things, like read data or run an ANOVA. These statements (blue in DAWG) are plain text and can be created by you or another in any computer program. Generally, these statements are stored as a file with the .sas extension so that SAS can recognize it.
Here is an example of a SAS program:
This program illustrates the two primary functions of a SAS program:
If you like, copy the above into your SAS Editor Window and run it.
If you already have a SAS program stored on your computer, then File Open will read it into the Editor Window.