Introduction to SAS Flashcards
(47 cards)
What is the Project Tree?
It displays the Process Flow.
What is the Process Flow?
A graphical representation of the project.
What is the log window?
It displays errors, warning and notes on execution of codes.
What is the result window?
The window where results are displayed.
What is the server list?
A list of the physical folders and files on the system/server.
What are libraries in the SAS context?
Collections of SAS datasets.
What are the two types of SAS libraries?
Permanent libraries and temporary libraries.
What is a permanent library?
Datasets in a permanent library are available for use across sessions and are saved permanently.
What is a temporary library?
Datasets in a temporary library are deleted on closing a SAS session.
What is the name of the only temporary library?
WORK
How do you create a user-defined permanent library?
Using a LIBNAME statement.
What are rows called in a SAS data file?
Observations
What are columns called in a SAS data file?
Variables
What is a data step used for?
Creating and manipulating datasets.
What is a proc step used for?
Generating reports.
What does every code block begin with?
DATA or PROC
What does every line of SAS code begin with?
A SAS keyword
What does every line of SAS code end with?
A semicolon
What does a code block end with?
A RUN or QUIT statement
Is SAS code case sensitive?
No.
Can SAS code be written across different lines or multiple statements in a single line?
Yes.
Data Step example
Data student_details; input student_id student_name$ course$; datalines; 101 Arpita SAS 102 Shashi SAS 103 Raj Excel 104 Sagar SQL 105 Preeti Excel ; RUN
What are the two basic data types in SAS?
Character and Numeric.
How do you specify a character value?
Add a dollar sign at the end of a variable names.