Skip to content

WRITE

Writes case values to a text file, one line per case, using write formats and no separators.

WRITE OUTFILE='path' / varlist [(format list)] ['literal'] [var start-end] ….
Kind Session
Body free-form body
Changes data no
WRITE OUTFILE='export.dat' / id (F4) age (F3) income (F10.2).
  • Each variable uses its write format (see WRITE FORMATS) unless a format list is given.

PRINT, WRITE FORMATS, EXPORT DATA


Generated from OrcStat’s command registry and reference. To suggest a change, open an issue.