Example AOCMSG Call

This example shows how to code AOCMSG to issue message ABC123I.

Entries for messages in DSIMSG member DSIABC12 are as follows:
*********************************************************
120I ...
121I ...
122I ...
123I 10 40 THE EAGLE HAS &1
124I ...
*********************************************************
Your automation procedure contains the following AOCMSG call:
<other automation procedure code>
⋮
     AOCMSG LANDED,ABC123
⋮
<other automation procedure code>
When AOCMSG is called as specified in the automation procedure, DSIMSG member DSIABC12 is searched for message ABC123I. Substitution for variable &1 occurs, and the following message is generated:
ABC123I THE EAGLE HAS LANDED

Note that the message is defined with a 10 and a 40 between the message ID and the first word of the message. These are the SA z/OS message classes to which the message belongs. When the message is issued a copy is sent to every notification operator who is assigned class 10 or class 40 messages.

Refer to IBM Z NetView Customization Guide for further information on developing new messages.