Purpose
Defines names for and the order of the variables in the input data set.
Syntax
NAMES nlist @
Arguments and Subcommands
nlist
One or more variable names separated by blanks or commas. Consecutive commas are used in conjunction with free-format input to indicate variables which will be skipped.
Remarks
The NAMES command is used to define variable names only if the data are to be read from an ordinary text file. If data are being read from a binary save format (BSF) file created by one of these programs, the names of the input variables will be read from the BSF file header when the USE command is given. The NAMES command also can be used to define new names after a NEW command is used to reinitialize the program prior to reading a new set of data.
Examples
a) To read all the variables on the input file:
NAMES city sex atb dose time cases pyr @
b) To read some of the variables on the input file. The second, sixth, and seventh variables for each case will be skipped.
NAMES city,, atb dose time,,, cases pyr @