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.

642 GET TRANSLATE<br />

• GET TRANSLATE creates an SPSS working data file from the dBASE file ADDRESS.DBF,<br />

omitting the fields named PHONENO and ENTRY.<br />

Example<br />

GET TRANSLATE FILE=’PROJECT.OCT’ /TYPE=WK1 /FIELDNAMES<br />

/KEEP=NETINC, REP, QUANTITY, REGION, MONTH, DAY, YEAR.<br />

• GET TRANSLATE creates a working data file from the 1-2-3 Release 2.0 file called<br />

PROJECT.OCT.<br />

• The subcommand FIELDNAMES indicates that the first row of the spreadsheet contains<br />

field names, which will be translated into variable names in the working file.<br />

• The subcommand KEEP translates columns with the field names NETINC, REP, QUANTITY,<br />

REGION, MONTH, DAY, and YEAR to the working file.<br />

MAP Subcommand<br />

MAP displays a list of the variables in the working data file and their corresponding names in<br />

the other application.<br />

• The only specification is the keyword MAP. There are no additional specifications.<br />

• Multiple MAP subcommands are allowed. Each MAP subcommand maps the results of<br />

subcommands that precede it; results of subcommands that follow it are not mapped.<br />

Example<br />

GET TRANSLATE FILE=’ADDRESS.DBF’ /DROP=PHONENO, ENTRY /MAP.<br />

• MAP is specified to confirm that variables PHONENO and ENTRY have been dropped.

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

Saved successfully!

Ooh no, something went wrong!