Renaming Objects
You can rename an object using the ZOMReName command. The new object name is specified using the target indicator “>”. The following example renames “Customers” to “Custs”. ZOMReName Customers > Custs
You can rename an object using the ZOMReName command. The new object name is specified using the target indicator “>”. The following example renames “Customers” to “Custs”. ZOMReName Customers > Custs
Deleting an object can be accomplished by using the ZOMDelete command. The following example deletes the object “Customers”, causing its description to be removed from the Object Dictionary: ZOMDelete Customers
Destroying an object using the ZOMDestroy command. The following example destroys the object “Customers”, removing all knowledge of the object: ZOMDestroy Customers ZOMDestroy is executed when deleting objects in DC.
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
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 >…
Leia mais
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.…
Leia mais
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…
Leia mais
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…
Leia mais
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,…
Leia mais
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