OUTFILE Specification (MATRIX-END MATRIX command)

OUTFILE designates the matrix-format data file to which the matrices are to be written. It can be a filename in quotes or a file handle defined on a FILE HANDLE command that precedes the matrix program. The filename or handle must be a valid file specification. The file reference cannot be the name of a dataset in the current session.

  • The OUTFILE specification is required on the first MSAVE statement in a matrix program.
  • Since only one matrix-format data file can be written in a single matrix program, any OUTFILE specification on the second and later MSAVE statements in one matrix program must be the same as that on the first MSAVE statement.
  • Both dataset references and physical file specifications are supported.