Commands and Command Set Objects

Command objects represent menu items that can be displayed in the context menus for selected resources. Command set objects also represent menu items, but command set items have submenus of commands or other command sets associated with them. The command set object specifies the order and content of the submenu. You can use the command profile editor to add, change, and delete commands and command sets.

Commands consist of the following items:
  • A command definition page that defines the purpose and behavior of the command
  • One or more implementation pages that describe the command exits that are responsible for carrying out the command

Command sets are composed of one or more commands or command sets.

Many commands have a common meaning for a wide variety of resource types. However, the mechanics of carrying out this command can vary from one resource type to another.

For example, a Lotus® Notes® resource is started differently than a NetView® resource, which is activated differently than a Tivoli Enterprise Console® resource. This is because a variety of syntaxes and command exits are used; therefore command objects are composed of multiple implementation pages. When a command is issued, a single page is selected (based on the command indicator of the target resource).

For example, you can create a Stop Tasks command that is enabled for Lotus Notes resources, but not for Tivoli Enterprise Console resources. You can do this by defining a command called Stop Tasks and defining a page for Lotus Notes resources but not defining a page for Tivoli Enterprise Console resources.