MATRIX Subcommand (ONEWAY command)

MATRIX reads and writes matrix data files.

  • Either IN or OUT and a matrix file in parentheses are required.
  • You cannot specify both IN and OUT on the same ONEWAY procedure.
  • Use MATRIX=NONE to explicitly indicate that a matrix data file is not being written or read.

OUT ('savfile'|'dataset'). Write a matrix data file or dataset. Specify either a filename, a previously declared dataset name, or an asterisk, enclosed in parentheses. Filenames should be enclosed in quotes and are stored in the working directory unless a path is included as part of the file specification. If you specify an asterisk (*), the matrix data file replaces the active dataset. If you specify an asterisk or a dataset name, the file is not stored on disk unless you use SAVE or XSAVE.

IN ('savfile'|'dataset'). Read a matrix data file or dataset. Specify either a filename, dataset name created during the current session, or an asterisk enclosed in parentheses. An asterisk reads the matrix data from the active dataset. Filenames should be enclosed in quotes and are read from the working directory unless a path is included as part of the file specification.