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.

1692 Appendix A<br />

Table A.1 <strong>Command</strong>s and program states (Continued)<br />

Restricted transformations<br />

FILTER ** ** — TRANS<br />

REFORMAT ** ** — TRANS<br />

SAMPLE ** ** — TRANS<br />

SELECT IF ** ** — TRANS<br />

TEMPORARY<br />

Procedures<br />

** ** — TRANS<br />

BEGIN DATA ** ** PROC —<br />

EXECUTE ** ** PROC —<br />

EXPORT ** ** PROC —<br />

GRAPH ** ** PROC —<br />

LIST ** ** PROC —<br />

SAVE ** ** PROC —<br />

SAVE TRANSLATE ** ** PROC —<br />

SORT CASES ** ** PROC —<br />

other procedures ** ** PROC —<br />

Unrestricted Utility <strong>Command</strong>s<br />

Most utility commands can appear in any state. Table A.1 shows this by the absence of<br />

asterisks in the columns.<br />

The dashed lines indicate that after a utility command is processed, the program<br />

remains in the same state it was in before the command execution. INIT, TRANS, or<br />

PROC indicates that the command moves the program to that state. For example, if the<br />

program is in the procedure state, N OF CASES moves the program to the transformation<br />

state. The FINISH command terminates command processing wherever it appears. Any<br />

commands appearing after FINISH will not be read and therefore will not cause an error.<br />

File Definition <strong>Command</strong>s<br />

INIT INPUT TRANS PROC<br />

You can use most of the file definition commands in the initial state, the transformation<br />

state, and the procedure state. Most of these commands cause errors if you try to use them<br />

in the input program state. However, DATA LIST and KEYED DATA LIST can be and often<br />

are used in input programs.<br />

After they are used in the initial state, most file definition commands move the<br />

program directly to the transformation state, since these commands are the entire input<br />

program. FILE TYPE and INPUT PROGRAM move the program into the input program<br />

state and require input program commands to complete the input program. <strong>Command</strong>s<br />

in Table A.1 marked with a dagger (†) clear the working data file.

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

Saved successfully!

Ooh no, something went wrong!