613-518-1166 info@zimdatabases.com

Zim Object Manager (ZOM)

ZOMCreate

< All Topics

Create selected objects.

Syntax

ZOMCreate <object> […]

Options

;k [!] 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 [!] Set the specified user-designated property for the selected object(s). If “!” is indicated, the specified property is reset for the selected object(s).

Comments

ZOMCreate create the objects indicated. Full dependency information is not available for the objects before they are created, so ZOM assumes some basic dependencies prior to attempting the create in an attempt to get the objects in the right order. Some esoteric circumstances, like a relationship that depends on the role of another relationship do not necessarily work in one pass. What happens is that some of the objects on the list fail to create. Once the first pass at the create has completed, you can find out which objects failed to create by using the Exists property, as shown below:

ZOMList +p e!

This command lists all the objects which are currently not created. If you suspect that these objects failed to create because they were executed in the wrong order, you can ask ZOMCreate to create only the non-existent objects, as shown below:

ZOMCreate +p e!

This command touches the objects created 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.

Examples

The following command creates the object “Customers.”

ZOMCreate Customers

The following command creates all objects that have not yet been created.

ZOMCreate +p e!

 

Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Table of Contents