NAME Keyword (OUTPUT EXPORT Command)

The optional NAME keyword specifies the Viewer document from which to export output. This is useful when more than one Viewer document is open and you want to ensure that the command operates on the correct document.

NAME=*. Export the contents of the designated output document. The designated Viewer document is the one most recently opened (by OUTPUT NEW or OUTPUT OPEN, or from the menus and dialogs), or explicitly designated (by OUTPUT ACTIVATE or by selecting Designate Window from the Utilities menu). This is the default.

NAME=name. Export the contents of the named output document. This is the name assigned by a previous OUTPUT NAME, OUTPUT OPEN, OUTPUT NEW command, or automatically assigned when the document is created or opened in the current session; it is not the file name associated with a saved output document. In the Viewer window title bar, the name is enclosed in square brackets.

Example

OUTPUT EXPORT NAME=Region1Results
  /XLS DOCUMENTFILE='/mydocs/ResultsByRegion.xls'.