Topics: |
A CICS Event is the processing defined on a particular message received from CICS. A CICS program sends a message to communicate that a specific event occurs, for example, when an inventory level crosses a threshold. In the most common use case, an EBCDIC COBOL Copybook formatted record is received, converted to an XML document, and delivered to a queue or program.
All processing details for a message are configured under a channel, which include:
A CICS Event can be configured as REQUEST only, in which the Event consumes a message, or REQUEST/RESPONSE, in which the Event consumes a message and returns a reply message.
The following diagrams and sequences illustrate REQUEST and REQUEST/RESPONSE scenarios:
REQUEST
The following sequence outlines how request messages are processed.
REQUEST/RESPONSE
The following sequence outlines how request/response messages are processed.
A message can be a Copybook formatted record or an XML document.
Copybook formatted messages have the following properties:
XML formatted messages have the following properties:
The following sample event programs are included with the product:
For more information, see Sample Programs.
CICS Event handling is supported under Servlet iBSP.
iWay Service Manager (iSM) does not support CICS Events. However, similar event handling capabilities can be achieved by configuring a CICS PreParser and PreEmitter. For more information, see the iWay Service Manager User’s Guide.