Reporting status for objects and sets
The following parameters can be used by MAMSTAT:
Node | Required | Description |
|---|---|---|
NAME() | Object or set name to report status. (Optional) | BBPLEX01.SYSA.TSO |
TYPE(OBJ|SET) | Specify OBJ to return status for an object or SET to return status for a set. Leave blank to get information for either type. (Optional) | OBJ |
SYSTEM() | Name of a system for returning object status. Leave blank to get status for all systems. This parameter will be ignored for sets | SYSA |
TOMID() | ID of a TOM PAS. Used to get the status on the system associated with the TOM PAS. | TOMKZt |
STATUS() | Specify to return only objects or sets with the named status. Leave it blank to get all status. (Optional). | LOCKED |
SCOPE(NONE|ALL|PARENTS|CHILDREN) | Indicates whether to return statuses for the specified object or set along with its parent, children, both or neither. Value defaults to NONE. | NONE |
To use MAMSTAT
From the BBSAMP data set, copy EXEC MAMSTAT to a library in the SYSPROC DD concatenation of the
BMC AMI OpsA
PAS.
(Optional) In the SYSPROC DD, edit the copy of MAMSTAT to make any required changes to the default values of the parameters.
When you issue MAMSTAT, the results are shown in the following format:
OBJECT: <object name>
SYSTEM:<system #1 in objects VSL> STATUS:<status on system #1>
SYSTEM:<system #2 in objects VSL> STATUS:<status on system #2>
SET:<set name>
STATUS:<status of the set>For example, we have two objects: