odmget Command

Purpose

Retrieves objects from the specified object classes into an odmadd input file.

Syntax

odmget-q Criteria ] ObjectClass ...

Description

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.

Flags

Item Description
-q Criteria Specifies the search criteria used to select objects from the object class or classes. For information on search criteria, see "ODM Example Code and Output" in AIX® Version 7.1 General Programming Concepts: Writing and Debugging Programs for an example of an ASCII odmadd input file.