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.

488 DISPLAY<br />

VARIABLES Variable names, positions, print and write formats, and missing values.<br />

LABELS Variable names, positions, and variable labels.<br />

SCRATCH Scratch variable names.<br />

VECTOR Vector names.<br />

MACROS Currently defined macros. The macro names are always sorted.<br />

Operations<br />

Example<br />

• DISPLAY directs information to the output.<br />

• If SORTED is not specified, information is displayed according to the order of variables<br />

in the working data file.<br />

• DISPLAY is executed as soon as it is encountered in the command sequence, as long as a<br />

dictionary has been defined.<br />

GET FILE=HUB.<br />

DISPLAY DOCUMENTS.<br />

DISPLAY DICTIONARY.<br />

• Each DISPLAY command specifies only one keyword. The first requests documentary text<br />

and the second requests complete dictionary information for the HUB file.<br />

SORTED Keyword<br />

SORTED alphabetizes the display by variable name. SORTED can precede the keywords<br />

NAMES, DICTIONARY, INDEX, VARIABLES, LABELS, SCRATCH, or VECTOR.<br />

Example<br />

DISPLAY SORTED DICTIONARY.<br />

• This command displays complete dictionary information for variables in the working data<br />

file, sorted alphabetically by variable name.<br />

VARIABLES Subcommand<br />

VARIABLES (alias NAMES) limits the displayed information to a set of specified variables.<br />

VARIABLES must be the last specification on DISPLAY and can follow any specification that<br />

requests information about variables (all except VECTOR, SCRATCH, DOCUMENTS, and<br />

MACROS).<br />

• The only specification is a slash followed by a list of variables. The slash is optional.

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

Saved successfully!

Ooh no, something went wrong!