[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Commands Reference, Volume 4

odmchange Command

Purpose

Changes the contents of a selected object in the specified object class.

Syntax

odmchange -o ObjectClass -q Criteria] [ InputFile]

Description

The odmchange command, given the object class to modify, the search criteria, and the new object (only for attributes that need to change), modifies all objects that satisfy the search criteria. The InputFile file has the same format as the InputFile file (the ASCII input file) for the odmadd command.

Flags

-o ObjectClass Specifies the object class to modify.
-q Criteria Specifies the criteria used to select objects from the object class. For information on qualifying criteria, see "Understanding ODM Object Searches" in AIX General Programming Concepts: Writing and Debugging Programs. If no criteria are specified (no -q flag), all object entries in the object class are changed.

Related Information

Object Data Manager (ODM) Overview for Programmers in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.

The odmadd command.

The odm_change_obj subroutine.

Understanding ODM Descriptors in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.

List of ODM Commands and Subroutines in AIX General Programming Concepts: Writing and Debugging Programs.

ODM Example Code and Output in AIX General Programming Concepts: Writing and Debugging Programs.


[ Previous | Next | Contents | Glossary | Home | Search ]