Category: Programs and Utilities

The Original Internet Language

Copying Objects

You can copy an object using the ZOMCopy command. ZOMCopy is similar to ZOMReName, with the target referring to the new object name. The following example copies “Customers” to “TestCusts”. ZOMCopy Customers > TestCusts

Moving Objects

You can move an object from one directory to another using the ZOMMove command. A set of objects can be moved at once. The destination directory is specified using the target indicator “>”. The following example moves all objects named “Customers” (from the directories to which each belongs) to the directory NewDir: ZOMMove Customers >…
Read more

Recreating Objects

ZOM also provides a service, ZOMReCreate, for re-creating objects whose definition has changed. Recreating the object Employees would be executed as follows: ZOMReCreate Employees A common situation is dealing with “out-of-date” or “corrupt” objects. An object is considered corrupt if it depends on objects which have been erased or moved. Corrupt object must be recreated.…
Read more

Erasing Objects

With ZOM, it is important to differentiate between erasing an object, deleting an object, and destroying an object: Erasing Removes the object such that it cannot be referenced in the application. The object’s description in the Object Dictionary is unaffected. Deleting Removes the object’s description from the Object Dictionary. Your ability to reference the object…
Read more

Object Maintenance

Routine tasks performed by every Zim developer are creating, erasing, recreating, moving, and copying objects. Collectively, these tasks are called Object Maintenance. ZOM provides considerable assistance to the developer in this area. ZOM is designed to process sets of objects and maintain knowledge of object dependencies. ZOM operates on sets of objects, rather than one…
Read more

ZOM Configuring

The ZOM configuration can be called and altered at any time by invoking the ZOMConfig command. The configuration options control various aspects of ZOM’s operation: Display Mode With this option on, status information is displayed when any ZOM service is executing. The status information indicates what objects are being processed, what processing is being done,…
Read more

ZOMViewLog

View the activity and error log file. Syntax ZOMViewLog Comments Enables you to browse through the list of progress and error messages produced by the ZOM services you have been using. Example To review the results of the previous ZOM command, enter ZOMViewLog

ZOMEnable

Enables the ZOM services for use in a Zim session. Syntax ZOMEnable Comments You must enable ZOM before using any of the ZOM services. Since ZOM is always enabled, the Object Dictionary facilities in the Development Center use the ZOM services to manage your objects. Example The following command enables ZOM. ZOMEnable

ZOMMake

Rebuilds an application database. Syntax ZOMMake Comments ZOMMake is the equivalent of executing ZOMRecreate, ZOMTouch, and ZOMCompile in sequence. However ZOMMake has the intelligence to only recreate objects and compile programs that have changed. Not only does ZOMMake recompile programs that have modified dependent objects, but it also recompiles programs where the source code has…
Read more

ZOMReset

Rebuilds the ZOM knowledge base. Syntax ZOMReset Comments ZOMReset command is used as a ‘last resort’ solution to system level problems such as corrupt indexes on the object key for object definitions. ZOMReset completes the following tasks: Erases the index on the object key for object definitions. Deletes all object keys for object definitions. Recreates…
Read more

en_CAEnglish