OUTPUT OPEN
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 OPEN FILE='file specification' [NAME=name]
[LOCK={YES**}] [PASSWORD='password']
{NO }
** Default if the subcommand or keyword is omitted.
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 17.0
-
LOCK
keyword introduced.
Release 21.0
-
PASSWORD
keyword introduced.
Example
OUTPUT OPEN FILE='/examples/output/Q1Output.spv'.
GET FILE='/examples/data/March.sav'.
FREQUENCIES VARIABLES=ALL.
OUTPUT SAVE OUTFILE='/examples/output/Q1Output.spv'.