CALL generate_alarm (args[], error)
Function
Statement execution routine for the GENERATE_ALARM statement. It is used to generate an alarm.
Usage Considerations
Syntax
GENERATE_ALARM --gemitem--Input Parameters
Real array containing the arguments for this statement (record numbers or constants). The individual elements are described below:
Record number of an Alarm record in the GEM Items database.
Output Parameter
Real variable that receives a value indicating whether or not the operation was successful and what action should be taken by the calling routine. See the standard AIM operator error response code values for details.
Details
This statement sends an alarm message to the host. When this routine is executing, it temporarily locks access to the GEM Items database.
For details on alarm management, see Alarm Management. Refer to Structure of the GEM Items Database for details on the structure of the Alarm record type.