IM Relationship Resolution Information Center, Version 4.2

Command syntax of the UMF formatting utility

The UMF formatting utility uses a variety of commands to format and extract data.

The basic syntax of an UMF Formatting Utility command is:
xutil -o[switch] option

Parameters

-o
Out Sends output to stdout. Required parameter. Parameter switches are:
w
Defines the format of output. All the UMF for one record is on one line. Removes all returns and line feeds.
t
Defines the format of output. The UMF for one record is on many lines. Puts one tag per line and places tabs in the document to make it more readable.
-t
Tagname: Filters records based on a tag name. Only records framed with this tag are output to stdout. Any errors are sent to stderr.

Use the tagname parameter when you want to filter records. For example, you may have a file with mixed records: entities and activities. It is a good idea to process entities before activities so the activities have existing entities for matching.

Examples

This command filters output for entities only, using mixedlist.xml as the input source and entity.xml as the output file.
xutil -ow -t UMF_ENTITY < mixedlist.xml > entity.xml
This command directs the output of the UMF Formatting Utility process to a pipeline or to the queue utility.
xutil -ow < file.xml |qutil -f qname


Feedback

Last updated: 2009