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.

FINISH<br />

FINISH<br />

Overview<br />

FINISH causes the program to stop reading commands.<br />

Basic Specification<br />

The basic specification is keyword FINISH. There are no additional specifications.<br />

<strong>Command</strong> Files<br />

• FINISH is optional in a command file and is used to mark the end of a session.<br />

• FINISH causes the program to stop reading commands. Anything following FINISH in the<br />

command file is ignored. Any commands following FINISH in an INCLUDE file are<br />

ignored.<br />

• FINISH cannot be used within a DO IF structure to end a session conditionally. FINISH<br />

within a DO IF structure will end the session unconditionally.<br />

Prompted Sessions<br />

• FINISH is required in a prompted session to terminate the session.<br />

• Because FINISH is a program command, it can be used only after the command line<br />

prompt for the program, which expects a procedure name. FINISH cannot be used to end<br />

a prompted session from a DATA>, CONTINUE>, HELP>, or DEFINE> prompt.<br />

Operations<br />

• FINISH immediately causes the program to stop reading commands.<br />

• The appearance of FINISH on the printback of commands in the display file indicates that<br />

the session has been completed.<br />

• When issued within the SPSS Manager (not available on all systems), FINISH terminates<br />

command processing and causes the program to query whether you want to continue<br />

working. If you answer yes, you can continue creating and editing files in both the input<br />

window and the output window; however, you can no longer run commands.<br />

584

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

Saved successfully!

Ooh no, something went wrong!