Each
variable
(column) in a
SAS data set
must have a unique name.
SAS variable names
must conform to the following conventions:
SAS variables can be either character or
numeric
. In either case, a fixed length is assigned to store each
observation
of that variable.
Optionally, SAS variables can have a
label
. Labels have much less restrictive creation rules. For example, SAS labels can be up to 256 characters in length and can contain blanks and special characters. When JMP opens a SAS data set, it reads the labels (when they exist) and uses them as JMP data table column names.
Another way to obtain information about all variable names and labels for a SAS data set at once is to run the
Column Contents
process
under the
SAS Data Set Utilities
menu. There are other processes available for changing SAS variable names, labels, and lengths.
Tip
: You can also inspect columns
one-at-a-time
for SAS variable name, label, and other detailed information by right-clicking a column name (either in the column
heading
, or under the
Columns
pane
), and clicking
Column Info...
.