How Can We Help?
< All Topics
Print

Redirecting Output

The “d” option is used to redirect the output of a ZOM service to a document. For example, the following lists information on all the objects named “Inventory” to the document ListOutputDoc:

ZOMList Inventory ;d ListOutputDoc

In this case, the contents of ListOutputDoc are overwritten. ListOutputDoc must be an existing document object.

If you want to append the output onto the end of the document, you would use the “a” option as well:

ZOMList Inventory ;d ListOutputDoc ;a

Leave a Reply

Your email address will not be published. Required fields are marked *

en_CAEnglish