Some resource classes let you specify how to find out about the status of the resource. Before the region starts or stops a resource, the region executes the display method to determine the actual state of the resource. The heartbeat interval enables you to set up regular checking of the resource status.
To define the display and heartbeat details for the resource
The Display and Heartbeat Details panel appears. For an example, see a template distributed with the product.
Generally, the CHECKALL, CHK (check), and D (display) commands use the method on this panel when checking or displaying the resource status. The exceptions are resources that have their own special D commands. You can identify these exceptions from the list of command definitions. To access the list, enter the /ASADMIN.C path.
Note: Resource definitions with a class of JOB or STC have a default display method that is used when no specific method is specified. The default method checks the existence of the address space ID, and sets the actual state to either ACTIVE or INACTIVE. When a JOB or STC definition specifies no display method, the D command issues D J,resource_name.
Important! The heartbeat feature increases CPU consumption. Use this feature only for resources that are liable to change state without an accompanying message.
You can extend the message definition.
Note: You can use the $NCL process to execute an NCL procedure.
If you use a process, your process must set the return code to one of the following values:
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |