Lesson 1: Essentials Flashcards
The EDITOR window is used
To write code
LOG window
is used for viewing descriptive information about what SAS does with your code.
any errors made or any Warnings that might appear during the writing of your SAS code.
The EXPLORER window
is the area where you will be navigating to various Libraries and data.
DATASET
All data in SAS is stored in what is called a Dataset.
It is nothing different from a spreadsheet with two dimensions to it.
A dataset can also be called as a TABLE, but in SAS it is called simply a dataset
VARIABLES
= Columns
They are called Variables because the values under them may change depending on the dataset you’re dealing with.
OBSERVATIONS
= Rows
What are the ONLY 2 types of data in SAS?
Character and Numeric
Character are LEFT aligned (within the cell)
Numeric are RIGHT aligned
How are MISSING values represented?
Character - NULL (empty)
Numeric - PERIOD / DOT (.)
All data has to reside (where)?
In some kind of LIBRARY
A dataset cannot reside on its own in a SAS session
There is really NO limitation to the amount of data or the number of datasets that can be stored in a Library
What are the 2 MAIN types of Libraries?
Temporary and Permanent
What is a TEMPORARY library?
A Temporary Library is a place somewhere on your computer’s memory where SAS stores the data only temporarily.
The data stored in this place is lost, once you close your SAS session, and it won’t be available the next time you restart your session. It is usually a place to put in your working dataset that you might not need the next time you log into your SAS session.
What is a WORK library?
By default, SAS creates a Temporary Library called the WORK folder every time you start your SAS session. So every time you start your session, the Work Library is an empty place to begin with, and it is erased every time you log off SAS session.
What is a PERMANENT library?
A PERMANENT Library is a place on your computer to which SAS permanently associates a reference that is not lost even after you close your SAS session. It is retrievable anytime you come back to your SAS session.
The Permanent Library reference from your session could be either on your local desktop computer or somewhere on a server.
By default, SAS provides some sample Permanent Libraries
SASHELP
SASUSER
WEBWORK