Examples

Example 1

The following can be used from the NetView automation table to send an alert whenever message ABC123I is issued:
IF MSGID='ABC123I'
THEN
EXEC(CMD('INGALERT'));

This example uses alert ID ABC123I and the complete message text of ABC123I as the alert text and sends the alert to all the targets on the inform list definition in the automation policy.

Example 2

The following can be used from the command line or a CLIST:
INGALERT MYGRP/APG/SYS1 ID=MYALERT TEXT=(MYGRP HAS A PROBLEM) INFORM=IOM
This example uses alert ID MYALERT and the specified alert text and sends an alert to IOM only.