Monitor information
OUTPUT; CHAR(*)
This is the variable in which to receive the monitor information that is returned. The information is returned in the format specified by the format name parameter. The amount of data returned is determined by the value of the length of monitor information parameter. Users need to allocate space large enough for this parameter.
Length of monitor information
INPUT: BINARY(4)
The size of the area to contain the monitor information, specified in bytes. The minimum size that can be specified is 8 bytes.
This parameter must specify the size of the variable you use for the monitor information parameter. If the size specified is longer than the length of the data actually returned other parts of storage could be overwritten when this API returns the information.
Format name
INPUT; CHAR(7)
This is the format in which to return the monitor information. The supported format names are:
MON0100 |
Returns basic information. See MON0100 format. for details. |
MON0200 |
Returns all monitor status information from the last call to the event program. See MON0200 format for details. |
Monitor name
INPUT;CHAR(10)
This is the name of the monitor for which information is being requested.
This parameter is not currently used.
Monitor type
INPUT;CHAR(10
The type of event class of the monitor specified in the Monitor name parameter. Possible values are:
*MSG |
The monitor is triggered when a specified message queue receives a predetermined message. |
*INTERVAL |
The monitor is triggered when the specified time interval has passed. |
*TIME |
The monitor is triggered at a specified time. Time can by specified either by scheduled date or scheduled day. |
*JRN |
The monitor is triggered when the specified journal receives a predetermined journal entry code or entry type. |
*GROUP |
The monitor is triggered when the last monitor that belongs to the group has a status of FAILED or FAILED/ACT. |
Error code
INPUT/OUTPUT;CHAR(*)
This is the structure in which to return error information. If this parameter is omitted, null, or if the bytes provided are less than or equal to 8, escape messages are sent to the calling program.
For more information about error code structures, refer to IBM API Programming information.