-
ZOM Concepts
-
Selecting Objects for Processing
- Selecting a Set of Objects
- Selection Criteria
- Selecting by Name
- Selecting by Keyword
- Selecting Previously Selected Objects
- Selecting by Status Properties
- Selecting by the Defined Property
- Selecting by the Exists Property
- Selecting by the Selected Property
- Selecting by the Locked Property
- Selecting by the Active Property
- Selecting by the Data Property
- Selecting by the Datasave Property
- Selecting by the Compilable Property
- Selecting by the Compilestatus Property
- Selecting Unreferenced Objects
- Selecting by Dependency Explosion
- Selecting by Dependency Implosion
- Selecting by Named Set
- Show all articles ( 4 ) Collapse Articles
-
Processing Options
-
Object Dependencies
-
Object Maintenance
-
Exporting and Importing Objects
-
Team Development Projects
-
Configuring ZOM
-
ZOM Commands
- ZOM Commands
- ZOMCat
- ZOMCompile
- ZOMCompileBoot
- ZOMConfig
- ZOMCopy
- ZOMCreate
- ZOMCrtBoot
- ZOMDataLoad
- ZOMDataSave
- ZOMDDBoot
- ZOMDelete
- ZOMDestroy
- ZOMDiagnose
- ZOMDiff
- ZOMDisable
- ZOMEnable
- ZOMErase
- ZOMExec
- ZOMExport
- ZOMFixUp
- ZOMGenHelp
- ZOMList
- ZOMMake
- ZOMMove
- ZOMPermBoot
- ZOMReCreate
- ZOMReName
- ZOMReset
- ZOMStatistics
- ZOMTouch
- ZOMUnCompile
- ZOMViewLog
- ZOMSet
- ZOMImport
- Show all articles ( 20 ) Collapse Articles
-
Advanced Topics
Locking Object Definitions
You can lock an object so that its definition cannot be changed by any ZOM service (until it is unlocked). When an object is locked, it cannot be erased, deleted, destroyed, recreated, moved, renamed, and so on. Locking an object is similar to write protecting the object.
You can set and reset the locked property for an object(s) using the ‘L’ property indicator and the ZOMSet service. For example, to lock all objects named Employees, enter
ZOMSet Employees ;p l
To unlock the same objects, use the negation indicator (!) as shown below:
ZOMSet Employees ;p l!
If you lock a Zim directory object, all the objects belonging to that directory are implicitly locked as well. Thus, the following example locks all objects in the Release3 directory:
ZOMSet Release3 ;p l
Unlocking a directory object implicitly unlocks all objects belonging to that directory that have not been explicitly locked individually.
Note: A ZOM lock locks the object only as far as the ZOM services are concerned. A ZOM lock does not prevent the object from being changed directly using the standard CREATE, ERASE, and RENAME commands. However, changes made in the Development Center, where ZOM is always enabled, respect any object locks.
Locks in ZOM are separate from locking enabled in multi-user applications to control concurrent access to a database.
0 out Of 5 Stars
5 Stars | 0% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |