ZOMCrtBoot

Generates a program to create all selected objects.

Syntax

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

Options

;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).

;d <document name>

This specifies that the output is to be written to the indicated document. The document must be already created. If the ;d option is omitted, it indicates that the output is to be written to the screen.

;a

If a document name is specified, the ;a option indicates that the output is to be appended to the end of the document. If the ;a option is omitted, it indicates that the output is to replace the contents of the document specified in ;d option.

;b

If a document name is specified, the ;b option indicates that you would like to browse the document file after the action is completed. The ;b option does not take effect if the ;d option was not used to specify an output document.

;w

If a document name was not specified, the ;w option sets pause on while the information is being listed to the screen. The ;w option does not take effect if output is directed to a document using the ;d option.

Comments

This command generates a program consisting of create statements for the selected objects. It is used to generate system bootstrap scripts. The scripts generated preserves the file numbers of directories, entity sets, and relationships with fields. As well, code is generated to make a copy of the object's file immediately after it is created.

If a given set of objects has a complex dependency hierarchy, it can be very difficult to determine the correct order in which to create the objects. If all the objects are properly created and Dependency Tracking is enabled, this command generates the create statements in the correct order.

Examples

The following command generates a program which, when executed, creates the object "Customers." The output is written to the screen.

ZOMCrtBoot Customers

The following command appends the same program out to the document BuildCusts.

ZOMCrtBoot Customers ;d BuildCusts ;a