GUI for SAS
SAS Studio provide following Windows for better Programming purpose:
- Code /Editor Window: Used to write and Edit codes. Enhanced Editor in SAS EG is syntax sensitive and allow you to collapse and expand the various steps in the program
- Server Files and Folders: Show the Physical Storage Locations of Data
- Log Window: Information about the execution of a program and lists the errors, warning or notes associated with the program.
- Result Window: Displays the output of program, it display each part of our results in a outline form.
In SAS EG, we have two more windows:
- Project Designer: It show the Process Flow of a Project in Flow charts
- Project Explorer: It show the Process Flow of a Project as Drop Down Menu
- Output Window: If program generates any printable results, they will appear in this window.
Click the Run button to execute the SAS program.
SAS Log Contains following information:
- Version of SAS and SAS site number
- SAS Statements with line number added on that left
- DATA Step is followed by name of the dataset and number of observation and variables.
- It says about computer recourses used for DATA and PROC Steps.
- SAS Statements can be in upper or lower case.
- Statements can continue on next line
- Statements can be on same line as other statement
- Statements can start in any column
Looking for Top Jobs in Data Science ? This blog post gives you all the information you need!
To insert comments in your SAS program, we have two styles of comment:
- Start with asterisk (*) and end with semicolon (;).
- Start with slash asterisk (/*) and end with asterisk slash (*/).
How SAS execute DATA Step?
Data steps execute line-by-line and observation-by-observation.
This means SAS take first observation and run it through the all DATA step line by line before taking the second observation. SAS execute only one observation at time.
Learn more about SAS in this insightful blog now!