The DATALINES statement
is the last statement in the DATA step and immediately precedes the
first data line. Use a null statement (a single semicolon) to indicate
the end of the input data.
You can use only one
DATALINES statement in a DATA step. Use separate DATA steps to enter
multiple sets of data.
Note: If you insert tabs while
entering data in the DATALINES statement, you might get unexpected
results when using columnar input. This issue exists when you use
the SAS Enhanced Editor or SAS Program Editor. To avoid the issue,
do one of the following:
-
Replace all tabs in the data with
single spaces.
-
Use the %INCLUDE statement from
the SAS editor to submit your code.
-
If you are using the SAS Enhanced
Editor, select Tools ->Options->Enhanced Editor to change the
tab size from 4 to 1.