Copying OMS identifiers from the viewer outline

In addition to the OMS Identifiers dialog box, you can copy and paste OMS command and subtype identifiers from the Viewer outline pane.

  1. In the outline pane, right-click the outline entry for the item.
  2. Choose Copy OMS Command Identifier or Copy OMS Table Subtype.

This method differs from the OMS Identifiers dialog box method in one respect: The copied identifier is not automatically pasted into a command syntax window. The identifier is simply copied to the clipboard, and you can then paste it anywhere you want. Because command and subtype identifier values are identical to the corresponding command and subtype attribute values in Output XML format (OXML), you might find this copy/paste method useful if you write XSLT transformations.

Copying OMS labels

Instead of identifiers, you can copy labels for use with the LABELS keyword. Labels can be used to differentiate 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 settings for the display of variable names/labels and values/value labels in the outline pane (Edit menu, Options, Output Labels tab).
  • Labels are affected by the current output language setting (Edit menu, Options, General tab).

To copy OMS labels

  1. In the outline pane, right-click the outline entry for the item.
  2. Choose Copy OMS Label.

As with command and subtype identifiers, the labels must be in quotation marks, and the entire list must be enclosed in square brackets, as in:

  /IF LABELS=['Employment Category' 'Education Level']