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
NAMESspecification onSAVEis designed to complement theNAMESspecification on theGETstatement. Names extracted from IBM® SPSS® Statistics data files can be used in a new data file by specifying the same vector name on bothNAMESspecifications. - If you specify both
VARIABLESandNAMES, a warning message is displayed and theVARIABLESspecification is used. - If you omit both the
VARIABLESandNAMESspecifications, or if you do not specify names for all columns of the matrix, theMATRIXprocedure 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
/NAMESsubcommand.