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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1462 SAVE TRANSLATE<br />

• User-missing values are transferred as actual values.<br />

• If the working data file contains more variables than the file can receive, SAVE TRANSLATE<br />

writes the maximum number of variables that the file can receive.<br />

Spreadsheets<br />

Variables in the working data file become columns, and cases become rows in the spreadsheet<br />

file.<br />

• If you specify FIELDNAMES, variable names become the first row and indicate field<br />

names.<br />

• If you specify CELLS, value labels can be saved instead of data values. The default is to<br />

have data values saved.<br />

• String variable values are left-justified and numeric variable values are right-justified.<br />

• The resulting spreadsheet file is given the range name of SPSS.<br />

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

SPSS formats are translated as follows:<br />

SPSS 1-2-3/Symphony Excel<br />

Number Fixed 0.00;#,##0.00;...<br />

COMMA Comma 0.00;#,##0.00;...<br />

DOLLAR Currency $#,##0_);...<br />

DATE Date d-mmm-yy<br />

TIME Time hh:mm:ss<br />

String Label General<br />

Databases<br />

Variables in the working data file become fields, and cases become records in the database<br />

file.<br />

• Characters that are allowed in variable names but not in dBASE field names are translated<br />

to colons in dBASE II and underscores in dBASE III and dBASE IV.<br />

• Numeric variables containing the system-missing value are translated to **** in dBASE III<br />

and dBASE IV and 0 in dBASE II.<br />

• The width and precision of translated numeric variables are taken from the print format—<br />

the total number of characters for the number is taken from the width of the print format,<br />

and the number of digits to the right of the decimal point is taken from the decimals in the<br />

print format. To adjust the width and precision, use the PRINT FORMATS command before<br />

using SAVE TRANSLATE. Values that cannot be converted to the given width and precision<br />

are converted to missing values.

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

Saved successfully!

Ooh no, something went wrong!