Next: Data Manipulation, Previous: Combining Data Files, Up: Top

## 11 Manipulating variables

The variables in the active dataset dictionary are important. There are several utility functions for examining and adjusting them.

- ADD VALUE LABELS: Add value labels to variables.
- DELETE VARIABLES: Delete variables.
- DISPLAY: Display information about the active dataset.
- FORMATS: Set print and write formats.
- LEAVE: Don't clear variables between cases.
- MISSING VALUES: Set missing values for variables.
- MODIFY VARS: Rename, reorder, and drop variables.
- MRSETS: Add, modify, and list multiple response sets.
- NUMERIC: Create new numeric variables.
- PRINT FORMATS: Set variable print formats.
- RENAME VARIABLES: Rename variables.
- VALUE LABELS: Set value labels for variables.
- STRING: Create new string variables.
- VARIABLE ATTRIBUTE: Set custom attributes on variables.
- VARIABLE LABELS: Set variable labels for variables.
- VARIABLE ALIGNMENT: Set the alignment for display.
- VARIABLE WIDTH: Set the display width.
- VARIABLE LEVEL: Set the measurement level.
- VECTOR: Declare an array of variables.
- WRITE FORMATS: Set variable write formats.