Compiles selected documents.


ZOMCompile <object specification> [<option>...]


;k <keyword> [!]

The ;k option is used to assign a keyword to the selected object(s). If the keyword is already assigned, this assignment is ignored. If "!" is specified, the keyword assignment is removed for the object(s).

;p <property> [!]

Set the specified user-designated property for the selected object(s). If "!" is indicated, the specified property is reset for the selected object(s).


This compiles all objects specified by the object list specification.

This command touches the objects compiled once its action has completed. This results in the object's status and dependency information being updated. For more information, refer to ZOMTouch.

This action results in the objects affected being keyworded as "changed." The exact keyword used is determined by ZOM's configuration. For more information, refer to ZOMConfig.


The following command compiles the program "pMainMenu":

ZOMCompile pMainMenu

The following command compiles all programs that have a compile status indicating that they need compilation:

ZOMCompile +p cn

The following command compiles all programs that depend on the object "Customers". This is used immediately following a recreate of the object "Customers".

ZOMCompile Customers +x