Statscraft 0.61.0, release v0.61.0
EXPORT
Write the active dataset to a portable (.por) file.
Syntax
EXPORT OUTFILE='path' | handle [/TYPE=COMM | TAPE] [/UNSELECTED=RETAIN | DELETE]
[/KEEP=varlist] [/DROP=varlist] [/RENAME=(old = new) ...] [/MAP] [/DIGITS=n].
KEEP, DROP and RENAME shape the file only, in the order written; KEEP sets the order of the variables. Each MAP shows the variables as the subcommands before it leave them.
UNSELECTED=DELETE leaves out the cases FILTER leaves out. DIGITS rounds values that are not whole to n significant digits; without it every value is written exactly.
The file holds names (upper case, at most 8 bytes: longer ones are shortened and made unique, as MYLONGRO and MYLONG_2), variable and value labels, missing values, formats, the weight variable and documents. Strings hold at most 255 bytes.
Text goes in by the file’s character table: the letters, digits and marks of ASCII, and the symbols plus-minus, degree, superscript digits, less-or-equal, greater-or-equal, not-equal, dagger, dashes, cent, bullet and a few more. A character the table has no code for, such as a letter with an accent, is written as ? and a warning counts them (texts that differ only in such characters become equal), so every program that reads the file reads the same text. Control characters are written as 0; TYPE is accepted and changes nothing.
Example
EXPORT OUTFILE='wave2.por' /RENAME=(v1 TO v3 = id sex age) /MAP.
statscraft help EXPORT prints the same text in the terminal. All commands