WRITE Subcommand (SURVIVAL command)

WRITE writes data in the survival tables to a file. This file can be used for further analyses or to produce graphics displays.

  • When WRITE is omitted, the default is NONE. No output file is created.
  • When WRITE is used, a PROCEDURE OUTPUT command must precede the SURVIVAL command. The OUTFILE subcommand on PROCEDURE OUTPUT specifies the output file.
  • When WRITE is specified without a keyword, the default is TABLES.

NONE. Do not write procedure output to a file. This is the default when WRITE is omitted.

TABLES. Write survival-table data records. All survival-table statistics are written to a file.

BOTH. Write out survival-table data and label records. Variable names, variable labels, and value labels are written out along with the survival table statistics.