TREEFORMAT Keyword (OMS command)

For OXML and SPV document formats, TREEFORMAT controls the format of tree diagrams (produced by the TREE command). The keyword is followed by and equals sign and one of the following alternatives:

  • XML. Tree diagrams are included as XML that conforms to the pmml schema (www.dmg.org). For SPV format, this is the format required to activate and edit trees in the Viewer window. This is the default.
  • IMAGE. For SPV format, tree diagrams are included in the Viewer document as static images in the selected format. For OXML format, image files are saved in a separate folder. See the topic IMAGES and IMAGEFORMAT Keywords (OMS command) for more information.

Note: When the destination is the XML workspace (XMLWORKSPACE keyword), images are stored in the workspace rather than in a physical file. See the topic XMLWORKSPACE Keyword for more information.

IMAGES=NO overrides the TREEFORMAT setting and includes tree diagrams in XML format. See the topic IMAGES and IMAGEFORMAT Keywords (OMS command) for more information.

Example

OMS SELECT TABLES TREES
  /DESTINATION FORMAT=SPV
               IMAGES=YES
               IMAGEFORMAT=PNG
               TREEFORMAT=IMAGE
               OUTFILE='/viewerdocs/results.spv'.