Using the TOM programming interface


Using the TOMEXEC functions from a REXX EXEC has the same effect as issuing commands for an object (or set) from the TOM user interface. Use the TOMEXEC functions from EXECs to schedule automation processing from both inside and outside of the 

BMC AMI Ops

environment.


TOMEXEC functions are supported only in REXX EXECs.

Some of the TOM object-management functions that you can schedule from REXX EXECs include the following actions:

  • Add, change, delete object, set, layer, and calendar definitions
  • Starting, stopping, or bouncing an object (or set of objects)
  • Setting a user property for an object (or set)
  • Changing an object’s control mode between SUSPEND and ACTIVE

Important

When performing custom automation that involves functions such as starting, stopping or bouncing an object, BMC recommends you use BMC AMI Ops Automation Rules instead of writing and scheduling REXX EXECs. Using Rules automation is simpler, uses less resources, and is easier to maintain than using EXECs. TOM object-management functions such as START, STOP, and RESET can be issued as actions from a Rule.

This section contains the following topics:

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*