User Guide
Chapter
12
Working with
Command Syntax
SPSS provides a powerful command language that allows you to save and automate
many common
tasks. It also provides some functionality not found in the menus
and dialog boxes.
Most commands are accessible from the menus and dialog boxes. However, some
commands a
nd options are available only by using the command language. The
command language also allows you to save your jobs in a syntax file so that you can
repeat your analysis at a later date or run it in an automated job with the Production
Facility.
A syntax file is simply a text file that contains commands. While it is possible to
open a syntax window and type in commands, it is often easier if you let the software
help you b
uild your syntax file using one of the following methods:
Pasting
commandsyntaxfromdialogboxes
Copying
syntax from the output log
Copying
syntax from the journal file
In the online Help for a given procedure, click the command syntax link in the
Related Topics list to access the syntax diagram for the relevant command. For
complete
documentation of the command language, refer to the SPSS Command
Syntax Reference.
Complete command syntax documentation is automatically installed when you
install S
PSS. To access the syntax documentation:
E From the
menus choose:
Help
Command Syntax Reference
297










