# Example of RED CICS-Initiated Request or Reply

The IVP example illustrates how a request is initiated through a CICS transaction on a CICS 3270 screen terminal.

The invoked RED CICS program writes the request information to the COMMAREA, CONTAINER, TSQ or Storage Pointer; depends on the initiated parameter, and then waits a set time for reply. The Substation ES gets a trigger based on the service name passed in from the parameter for this RED CICS initiated request trigger process. Substation ES Transformer then processes the data conversions according to the selected conversion rule in the trigger service.

After the data has been converted, Substation ES publishes the output message to the IVP awaiting EMS Consumer/Producer. The process works as a TIBCO client application to produce the reply to answer the request.

The Substation ES reply program is invoked by the reply message. The reply data is delivered to the originating RED CICS program. In both directions, the Substation ES Transformer converts the data according to conversion rules in the recipes and trigger.

For more information about the process flow, see the "Messages Flow" section of the TIBCO Substation ES Concepts manual.

Copyright © TIBCO Software Inc. All rights reserved.