### 11.3 DISPLAY

    DISPLAY [SORTED] NAMES [[/VARIABLES=]var_list].
    DISPLAY [SORTED] INDEX [[/VARIABLES=]var_list].
    DISPLAY [SORTED] LABELS [[/VARIABLES=]var_list].
    DISPLAY [SORTED] VARIABLES [[/VARIABLES=]var_list].
    DISPLAY [SORTED] DICTIONARY [[/VARIABLES=]var_list].
    DISPLAY [SORTED] SCRATCH [[/VARIABLES=]var_list].
    DISPLAY [SORTED] ATTRIBUTES [[/VARIABLES=]var_list].
    DISPLAY [SORTED] @ATTRIBUTES [[/VARIABLES=]var_list].
    DISPLAY [SORTED] VECTORS.

`DISPLAY` displays information about the active dataset. A variety of different forms of information can be requested.

The following keywords primarily cause information about variables to be displayed. With these keywords, by default information is displayed about all variable in the active dataset, in the order that variables occur in the active dataset dictionary. The `SORTED` keyword causes output to be sorted alphabetically by variable name. The `VARIABLES` subcommand limits output to the specified variables.

NAMES

  The variables’ names are displayed.

INDEX

  The variables’ names are displayed along with a value describing their position within the active dataset dictionary.

LABELS

  Variable names, positions, and variable labels are displayed.

VARIABLES

  Variable names, positions, print and write formats, and missing values are displayed.

DICTIONARY

  Variable names, positions, print and write formats, missing values, variable labels, and value labels are displayed.

SCRATCH

  Variable names are displayed, for scratch variables only (see Scratch Variables).

ATTRIBUTES
@ATTRIBUTES

  Datafile and variable attributes are displayed. The first form of the command omits those attributes whose names begin with `@` or `$@`. In the second for, all datafile and variable attributes are displayed.

With the `VECTOR` keyword, `DISPLAY` lists all the currently declared vectors. If the `SORTED` keyword is given, the vectors are listed in alphabetical order; otherwise, they are listed in textual order of definition within the PSPP syntax file.

For related commands, see DISPLAY DOCUMENTS and DISPLAY FILE LABEL.