# Example of IMS Synchronous Callout — Request or Reply

This IVP example illustrates how a request is initiated using an IMS Batch Message Program (BMP) or a 3270 device to a TIBCO messaging application through Substation ES.

The JCL is supplied with the installation of Substation ES. The IMS Synchronous Callout Request or Reply example uses this JCL to invoke the IMS transaction.

The IMS BMP initiates the request by inserting the output data to the IMS message queue (TPipe). The TPipe delivers the IMS outbound events to Substation ES, which gets the trigger based on the defined search criteria for this IMS-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 IMS 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.