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.

Variable formats are translated to dBASE formats as follows:<br />

Tab-Delimited ASCII Files<br />

SAS Files<br />

SPSS dBASE<br />

Number Numeric<br />

String Character<br />

Dollar Numeric<br />

Comma Numeric<br />

SAVE TRANSLATE 1463<br />

Variables in the working data file become columns and cases become rows in the ASCII file.<br />

• If you specify FIELDNAMES, variable names become the first row as column headings.<br />

• All values are delimited by tabs.<br />

• The resulting ASCII file is given the extension .DAT if no file extension is explicitly<br />

specified.<br />

• System-missing values are translated to N/A in ASCII files.<br />

• SPSS formats are not translated.<br />

Data can be saved in one of six different SAS data file formats. A SAS transport file is a sequential<br />

file written in SAS transport format and can be read by SAS with the XPORT engine<br />

and PROC COPY or the DATA step.<br />

• Certain characters that are allowed in SPSS variable names are not valid in SAS, such as<br />

@, #, and $. These illegal characters are replaced with an underscore when the data are<br />

exported.<br />

• SPSS variable labels containing more than 40 characters are truncated when exported to<br />

a SAS v6 file.<br />

• Where they exist, SPSS variable labels are mapped to the SAS variable labels. If no variable<br />

label exists in the SPSS data, the variable name is mapped to the SAS variable label.<br />

• SAS allows only one value for missing, whereas SPSS allows the definition of numerous<br />

missing values. As a result, all missing values in SPSS are mapped to a single missing<br />

value in the SAS file.

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

Saved successfully!

Ooh no, something went wrong!