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.

1694 Appendix A<br />

Table A.2 Taxonomy of transformation commands (Continued)<br />

<strong>Command</strong> Type <strong>Command</strong> Type<br />

ELSE Exec PRINT SPACE Exec<br />

ELSE IF Exec RECODE Exec<br />

END CASE Exec RECORD TYPE Exec<br />

END FILE Exec REFORMAT Exec<br />

END FILE TYPE Stat REPEATING DATA Exec*<br />

END IF Exec REREAD Exec<br />

END INPUT PROGRAM Stat SAMPLE Exec<br />

END LOOP Exec SELECT IF Exec<br />

END REPEAT Decl† SPLIT FILE Decl<br />

FILE TYPE Stat** STRING Decl<br />

FILTER Exec TEMPORARY Stat<br />

FORMATS Decl VALUE LABELS Decl<br />

GET Exec* VARIABLE LABELS Decl<br />

GET CAPTURE Exec* VECTOR Decl<br />

GET OSIRIS Exec* WEIGHT Decl<br />

IF Exec WRITE Exec<br />

INPUT PROGRAM Stat WRITE FORMATS Decl<br />

KEYED DATA LIST Exec* XSAVE Exec<br />

* This command is also declarative.<br />

**This command is also executable and declarative.<br />

†This command does not fit into these categories; however, it is neither executable nor status-switching,<br />

so it is classified as declarative.<br />

Restricted Transformations<br />

<strong>Command</strong>s REFORMAT, SAMPLE, SELECT IF, and TEMPORARY are restricted transformation<br />

commands because they are allowed in either the transformation state or the<br />

procedure state but cannot be used in the input program state.<br />

If you use restricted transformation commands in the transformation state, the<br />

program remains in the transformation state. If you use them in the procedure state, they<br />

move the program back to the transformation state.<br />

Procedures<br />

The procedures and the BEGIN DATA, EXECUTE, EXPORT, LIST, SAVE, SAVE SCSS,<br />

SAVE TRANSLATE, and SORT CASES commands cause the data to be read. These<br />

commands are allowed in either the transformation state or the procedure state.<br />

When the program is in the transformation state, these commands move the program<br />

to the procedure state. When you use these commands in the procedure state, the<br />

program remains in that state.

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

Saved successfully!

Ooh no, something went wrong!