|
DATA Statement:
Naming SAS Data Sets
|
- 8 characters or less,
- start with letter,
- Use letter, number or _
and no blanks
|
|
INPUT Statement
Naming Variables
|
- 8 characters or less,
- start with letter,
- Use letter, number or _
and no blanks
|
|
INPUT Statement
Types of Variables
|
- Numeric (numbers)
- Character (follow variable
name with $ )
|
|
INPUT Statement
Length of Character
Variables
|
- Default is 8
characters
- Indicate longer lengths
with numbers: ie. $12.
- Include the DECIMAL
point!
|
|
CARDS Statement
|
- Data begin after the
CARDS; statement
- Don't use a semicolon in
the data
- enter semicolon on line
following data
|