Sas designates a separate data tab that can be opened once data is either downloaded or inputted manually. The data tab has the name of the dataset on the very top left corner to let you know what dataset you are working with, if there are multiple open.
To view data in Sas you may click on the data browser icon that is highlighted in red below. This will open a tab for browsing through data and some options specific to manipulating the data.
There are multiple options to view data in Sas. You may open a designated data tab to view the data or call on Sas to show it in the output tab.
Below is the code for viewing an entire data set in the Sas output tab.
PROC PRINT DATA=SLID;
RUN;
We are going to RUN the PROC (procedure) PRINT of the DATA SLID to view the entire dataset.
Output
The output for the code above is the observations listed in rows and variables as columns. Sas will provide all the variables and observations in the dataset. Only the first ten are shown below.
Note: a " . " in Sas indicates a missing datum point.
In Sas we can learn more about how each variable is coded, the labels, and the format of the variable (e.g., numeric, string, or character). Below is the code for finding information for all variables in the dataset at once.
Code
The code above is the PROC (procedure) to find the CONTENTS of the variables in the DATA set SLID. We end with the RUN command.
Output