SPSS Print

The PRINT command prints data to an external file.


Usage

print outfile="path/to/file" / foo bar baz.
print outfile="path/to/file encoding="1252" / foo bar baz.
print outfile="path/to/file" / 'a string literal' foo 'another string literal' bar.

By default, variables are printed according to their print format. An alternative format can be specified following the variable names.

print outfile="path/to/file" / foo 1-10 (F,2) bar 11-20 (A).
print outfile="path/to/file" / foo (F10.2) bar (A10).

The PRINT command can be used to create multi-record data.

print outfile="path/to/file" /1 foo /2 bar.


Data Model

The PRINT command is queued as a pending transformation.


See also

PSPP manual for PRINT


CategoryRicottone