OUTPUT NEW
The OUTPUT commands (OUTPUT NEW,
OUTPUT NAME, OUTPUT ACTIVATE, OUTPUT OPEN,
OUTPUT SAVE, OUTPUT CLOSE) provide the ability to programmatically
manage one or many output documents.
OUTPUT NEW [NAME=name]
This command takes effect immediately. It does not read the active dataset or execute pending transformations. See the topic Command Order for more information.
Release History
Release 15.0
- Command introduced.
Release 16.0
-
TYPEkeyword is obsolete and is ignored.
Example
GET FILE='/examples/data/Males.sav'.
FREQUENCIES VARIABLES=ALL.
OUTPUT SAVE OUTFILE='/examples/output/Males.spv'.
OUTPUT NEW.
GET FILE='/examples/data/Females.sav'.
FREQUENCIES VARIABLES=ALL.
OUTPUT SAVE OUTFILE='/examples/output/Females.spv'.