Chapter 5. Object Data
You can create, add, change, retrieve, display, and
delete objects and object classes with ODM. ODM commands are entered on the
ODM commands should be used only when traditional methods of system
maintenance, such as SMIT, are ineffective. For a beginning system
administrator, it is recommended that you perform additional reading and
exercises before using these commands. Incorrect use of these commands may
result in a disabled system. The ODM commands are described here for
These commands are:
- Adds objects to an object class. The odmadd
command takes an ASCII stanza file as input and populates object classes with
objects found in the stanza file.
- Changes specific objects in a specified object class.
- Creates empty object classes. The odmcreate
command takes an ASCII file describing object classes as input and produces C
language .h and .c files to be used by the application accessing objects in
those object classes.
- Removes objects from an object class.
- Removes an entire object class.
- Retrieves objects from object classes and puts the
object information into odmadd command format.
- Displays the description of an object class. The
odmshow command takes an object class name as input and puts the
object class information into odmcreate command format.
5.2 Example of an Object
Class for an ODM Database