Structure
The SAS language basically divides data processing and analysis into two kinds of steps.
- Data Steps - Which manipulate data input and creation or deletion of variables.
- Procedure Steps - Which manipulate analysis and output.The short form for each procedure step is Proc
Each line of code in SAS language ends with a ";"
Data Storage Hierarchy Data is stored in this hierarchy -
1) Libraries - Which contain datasets.
Libname Good "C:/Data/";
This creates a reference path to library named Good at storage location "C:/Data/";
2) Datasets -Which contain variables and observations. Observations are rows, and variables are column headers.
Datasets can be temporary (they close when you shut down the SAS Compiling software) or they can be stored to the Operating Disk File System.
data good.dataset1; (Output Dataset Name) set dataset2; (Input Dataset Name) run; (Command after each Data step)
This stores the temporary dataset named "Dataset2" into a permanent location "C:/Data/dataset1.sas7bdat ) because it uses the Reference to good as "C:/Data/"; in previous step.
Read more about this topic: SAS Language
Famous quotes containing the word structure:
“The structure was designed by an old sea captain who believed that the world would end in a flood. He built a home in the traditional shape of the Ark, inverted, with the roof forming the hull of the proposed vessel. The builder expected that the deluge would cause the house to topple and then reverse itself, floating away on its roof until it should land on some new Ararat.”
—For the State of New Jersey, U.S. public relief program (1935-1943)
“A structure becomes architectural, and not sculptural, when its elements no longer have their justification in nature.”
—Guillaume Apollinaire (18801918)
“A special feature of the structure of our book is the monstrous but perfectly organic part that eavesdropping plays in it.”
—Vladimir Nabokov (18991977)