Supplying Information to Create a SAS Data Set
Overview of Creating a SAS Data Set
You supply SAS with
specific information for reading raw data so that you can create a
SAS data set from the raw data. You can use the data set for further
processing, data analysis, or report writing. To process raw data
in a DATA step, you must:
-
use an INPUT statement to tell SAS how to read the data
-
define the variables and indicate whether they are character or numeric
-
specify the location of the raw data
Telling SAS How to Read the Data: Styles of Input
SAS provides many tools for reading raw data into a SAS
data set. These tools include three basic input styles as well as
various format modifiers and pointer controls.
List input is used ...
Get Step-by-Step Programming with Base SAS 9.4 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.