27.03.2013 Views

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

532 EXPORT<br />

lost in the translation. For example, if a file is transported from a computer using a seven-bit<br />

ASCII character set to a computer using a six-bit ASCII character set, some characters in the<br />

file may have no matching characters in six-bit ASCII. For a character that has no match, the<br />

program generates an appropriate nonprintable character (the null character in most cases).<br />

For a table of the character-set translations available with IMPORT and EXPORT, refer to<br />

Appendix B. A blank in a column of the table means that there is no matching character for<br />

that character set and an appropriate nonprintable character will be generated when you<br />

import a file.<br />

OUTFILE Subcommand<br />

OUTFILE specifies the portable file. OUTFILE is the only required subcommand on EXPORT.<br />

TYPE Subcommand<br />

TYPE indicates whether the portable file should be formatted for magnetic tape or for a communications<br />

program. You can specify either COMM or TAPE. See “Methods of Transporting<br />

Portable Files” on p. 530 for more information on magnetic tapes and communications<br />

programs.<br />

COMM Transport portable files by a communications program. When COMM is specified<br />

on TYPE, the program removes all control characters and replaces them with the<br />

character 0. This is the default.<br />

TAPE Transport portable files on magnetic tape.<br />

Example<br />

EXPORT TYPE=TAPE /OUTFILE=HUBOUT.<br />

• File HUBOUT is saved as a tape-formatted portable file.<br />

UNSELECTED Subcommand<br />

UNSELECTED determines whether cases excluded on a previous FILTER or USE command<br />

are to be retained or deleted in the SPSS-format data file. The default is RETAIN. The<br />

UNSELECTED subcommand has no effect when the working data file does not contain<br />

unselected cases.<br />

RETAIN Retain the unselected cases. All cases in the working data file are saved. This<br />

is the default when UNSELECTED is specified by itself.<br />

DELETE Delete the unselected cases. Only cases that meet the FILTER or USE criteria<br />

are saved in the SPSS-format data file.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!