LABELS Keyword (OMS command)

The LABELS keyword selects particular output objects according to the text displayed in the outline pane of the Viewer. The keyword LABELS must be followed by an equals sign (=) and a list of quoted label text enclosed in square brackets, as in:

OMS
 /SELECT TABLES
 /IF LABELS = ['Job category * Gender Crosstabulation']
 /DESTINATION...

The LABELS keyword is useful for differentiating between multiple graphs or multiple tables of the same type in which the outline text reflects some attribute of the particular output object such as the variable names or labels. There are, however, a number of factors that can affect the label text:

  • If split file processing is on, split file group identification may be appended to the label.
  • Labels that include information about variables or values are affected by the OVARS and ONUMBERS settings on the SET command.
  • Labels are affected by the current output language setting (SET OLANG).