DESTINATION Subcommand (OMS command)

The DESTINATION subcommand is the only required subcommand. It specifies the format and location for the routed output. You can also use this subcommand to control what output is displayed in the Viewer.

  • Output continues to flow to a specified destination until its OMS specification is ended, at which point the file is closed. See the topic Basic Operation (OMS command) for more information.
  • Different OMS commands may refer to the same destination file as long as the FORMAT is the same. When a request becomes active, it starts contributing to the appropriate output stream. If the FORMAT differs, an error results. When multiple requests target the same destination, the output is written in the order in which it is created, not the order of OMS commands.

Example

OMS
 /DESTINATION FORMAT = OXML OUTFILE = '/mydir/myfile.xml'.