NAMES Specification (MATRIX-END MATRIX command)
As an alternative to the explicit list on the VARIABLES
specification, you can specify
a name list with a vector containing string values. The elements of
this vector are used as names for the variables.
- The
NAMES
specification onSAVE
is designed to complement theNAMES
specification on theGET
statement. Names extracted from IBM® SPSS® Statistics data files can be used in a new data file by specifying the same vector name on bothNAMES
specifications. - If you specify both
VARIABLES
andNAMES
, a warning message is displayed and theVARIABLES
specification is used. - If you omit both the
VARIABLES
andNAMES
specifications, or if you do not specify names for all columns of the matrix, theMATRIX
procedure creates default names. The names have the form COLn, where n is the column number. - Variable names are truncated to 8 bytes when they are referenced through a vector in the
/NAMES
subcommand.