Using the LISTEN command

Many of the resources that are managed by CICSPlex® SM can notify the system when events occur that are considered significant to the CICSplex.

Such events are not scheduled and cannot be anticipated, so a program designed to process these notifications must do so asynchronously. You can identify the event notifications you are interested in by using the LISTEN command.

The events that can be listened for are represented by resource tables with a type of notification. For example, an EMASSICK notification is produced by a MAS when a condition occurs that adversely affects the health of the CICS® system. For a list of the notification resource tables, and complete descriptions of other resource tables, see CICSPlex SM resource tables.

When you issue a LISTEN command, the resulting notifications are added to an outstanding data queue for the API processing thread. The number of completed asynchronous requests, including event notifications and requests issued with the NOWAIT option, is reported by the SENTINEL option of the ADDRESS command. You can retrieve the event notifications by issuing a RECEIVE command.



eyup1bm.html | Timestamp icon Last updated: Sunday, 4 June 2017