FILE Specification (MATRIX-END MATRIX command)

FILE designates the character file containing the data. It can be an actual filename in quotes, or a file handle defined on a FILE HANDLE command that precedes the matrix program.

  • The filename or handle must specify an existing file containing character data, not a data file in IBM® SPSS® Statistics format or a specially formatted file of another kind, such as a spreadsheet file.
  • The FILE specification is required on the first READ statement in a matrix program (first in order of appearance, not necessarily in order of execution). If you omit the FILE specification from a later READ statement, the statement uses the most recently named file (in order of appearance) on a READ statement in the same matrix program.