Retrieves objects from the specified object classes into an odmadd input file.
odmget [ -q Criteria ] ObjectClass ...
The odmget command takes as input a search criteria and a list of object classes, retrieves the selected objects from the specified object classes, and writes an ASCII odmadd input file to standard output.
-q Criteria | Specifies the search criteria used to select objects from the object class or classes. For information on search criteria, see "Understanding ODM Object Searches" in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs. If no criteria are specified (no -q flag), all objects in the object class or classes are retrieved. |
The following odmget command retrieves objects from an existing object class called Supporting_Cast_Ratings that has an Others descriptor equal to the string `Fairy Godmother':
odmget -q"Others='Fairy Godmother'" Supporting_Cast_Ratings
See the odmadd command or "ODM Example Code and Output" in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs for an example of an ASCII odmadd input file.
The odmadd command.
Object Data Manager (ODM) Overview for Programmers in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.
Understanding ODM Object Classes and Objects in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.
ODM Example Code and Output in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.
List of ODM Commands and Subroutines in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.