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.

1464 SAVE TRANSLATE<br />

The following table shows the variable type matching between the original data in SPSS and<br />

the exported data in SAS.<br />

SPSS Variable Type SAS Variable Type SAS Data Format<br />

Numeric Numeric 12<br />

Comma Numeric 12<br />

Dot Numeric 12<br />

Scientific Notation Numeric 12<br />

Date Numeric Date<br />

Date (Time) Numeric Time<br />

Date (Date-Time) Numeric DateTime<br />

Dollar Numeric 12<br />

Custom Currency Numeric 12<br />

String Character $8<br />

SPSS/PC+ System Files<br />

Variables are saved as they are defined. The resulting file is given the extension .SYS if no<br />

extension is explicitly specified. The dictionary is saved so that labels, formats, missing value<br />

specifications, and other dictionary information are preserved.<br />

Limitations<br />

• A maximum of 2048 cases can be translated to 1-2-3 Release 1A, a maximum of 8192<br />

cases, to 1-2-3 Release 2.0 or Symphony files, and a maximum of 16,384 cases (65,536<br />

for Excel 97 and later) and 256 variables, to Excel.<br />

• A maximum of 65,535 cases and 32 variables can be translated to dBASE II, a maximum<br />

of 1 billion cases (subject to disk space availability) and 128 variables, to dBASE III, and<br />

a maximum of 1 billion cases (subject to disk space availability) and 255 variables, to<br />

dBASE IV.<br />

OUTFILE Subcommand<br />

OUTFILE assigns a name to the file to be saved. The only specification is the name of the file. On<br />

some operating systems, file specifications should be enclosed in quotation marks or apostrophes.<br />

Example<br />

SAVE TRANSLATE OUTFILE=’STAFF.DBF’/TYPE=DB3.<br />

• SAVE TRANSLATE creates a dBASE III file called STAFF.DBF. The TYPE subcommand is<br />

required to specify the type of dBASE file to save.

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

Saved successfully!

Ooh no, something went wrong!