⇤ ← Revision 1 as of 2023-06-13 02:47:11
Size: 1045
Comment:
|
Size: 1084
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 26: | Line 26: |
The `PRINT` command can be used to create multi-record data. | The `PRINT` command can be used to create [[SPSS/ReadingData#Multi-Record_Data|multi-record data]]. |
SPSS Print
The PRINT command prints data to an external file.
Contents
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.