Previous Topic: Knowledge Base Variables

Next Topic: Active System Image Variables

Status Variables

Use the variables in the following table to retrieve the status of a service or resource.

You can use the variables in the same places that you use knowledge base variables.

&ZRMSTACTSTAT

Contains the base actual state only. The &ZRMSTPHYSTAT can contain any of the detectable actual states. The value can be ACTIVE, INACTIVE, STARTING, STOPPING, or UNKNOWN.

&ZRMSTACTDESC

Contains information about the actual state in the &ZRMSTPHYSTAT variable (for example, the message that sets the state). The information is displayed on the Modes and States panel when an S (Status) command is executed.

&ZRMSTACTSTA0

Contains information about the base actual state in the &ZRMSTACTSTAT variable (for example, the message that sets the state).

&ZRMSTARMFLAG

Contains information that indicates whether a resource is registered to the automatic restart manager (ARM) or if ARM is restarting the resource. The value can be YES, NO, or RECOVERY.

&ZRMSTAUTSTAT

Contains the automation status. The value can be FAILED, IN PROGRESS, or NONE. The information is displayed on the Modes and States panel when an S (Status) command is executed.

&ZRMSTCLASS

Contains the class number (for example, 17 for the user class).

&ZRMSTCLDESCL

Contains the class description.

&ZRMSTCLSNAME

Contains the class name.

&ZRMSTSDESC

Contains the short description of the resource as specified in the Short Description field of the resource definition.

&ZRMSTDESSTAT

Contains the desired state scheduled by the availability map. The value can be ACTIVE, INACTIVE, or RESET.

&ZRMSTDESSTA0

Contains information about the scheduled desired state (for example, the time when the state is set).

&ZRMSTDSTACUR

Contains the current desired state. The value can be ACTIVE or INACTIVE.

&ZRMSTDSTACU0

Contains information about the current desired state (for example, whether the state is scheduled or overridden).

&ZRMSTDSTAOV

Contains the desired state override. The value can be ACTIVE, INACTIVE, or NONE.

&ZRMSTDYNAMIC

Contains the value that indicates whether the definition for the resource is dynamic. The value can be NO or YES.

&ZRMSTEXIT

Contains the value that indicates whether a state change exit process exists. The value can be NO or YES.

&ZRMSTEXTDISP

Contains any activated extended display.

&ZRMSTMODECUR

Contains the current operation mode. The value can be AUTOMATED, IGNORED, or MANUAL.

&ZRMSTMODECU0

Contains information about the current operation mode (for example, whether the mode is overridden).

&ZRMSTMODEDB

Contains the operation mode specified in the definition. The value can be AUTOMATED, IGNORED, MANUAL, OFF, or STARTAUTO.

&ZRMSTMODEMAP

Contains the operation mode scheduled by the availability map. The value can be AUTOMATED, IGNORED, MANUAL, NONE, RESET, or STARTAUTO.

&ZRMSTMODEOV

Contains the operation mode override. The value can be AUTOMATED, IGNORED, MANUAL, or NONE.

&ZRMSTNAME

Contains the name of the resource or service.

&ZRMSTNMDID

Contains the domain ID of the region that monitors and controls the resource.

&ZRMSTNRMSTAT

Contains the logical state. The value can be ATTENTION, DEGRADED, FAILED, INERROR, OK, PENDING, STARTING, STOPPING, or UNKNOWN.

&ZRMSTOBJID

Contains the object ID of the record. The object ID is the concatenation of system image name, system image version, class number, and name.

&ZRMSTPHYSTAT

Contains the actual state. The value can be ACTIVE, DEGRADED, FAILED, INACTIVE, STARTING, STOPPING, or UNKNOWN.

&ZRMSTSYSNAME

Contains the name of the system image to which the resource belongs.

&ZRMSTTYPE

Contains the resource type as specified in the Type field of the resource definition.