# IMS Project

You can use sample projects available for TIBCO ActiveMatrix BusinessWorks on IMS. To use the IMS Project sample programs, you must set the following global variables:

Global Variable | Description
--- | ---
`JmsProviderUrl` | The URL of the EMS Server
`JmsUserid` | The User ID to access the EMS server
`JmsPassword` | The password associated with the EMS server user ID

## TIBCO ActiveMatrix BusinessWorks Sample Projects for Substation ES on IMS

The following table describes the sample projects available for TIBCO ActiveMatrix BusinessWorks on IMS:

Description | Service Name | Program
--- | --- | ---
Substation HeartBeat event consumer
Listens to the topic `tibss.heartbeat` for a TEXT message. | `HEARTBEAT` `(Trigger)` | Substation Internal
Listener for IMS Callout Process Definition
To start, execute the IMS BMP program. TIBCO ActiveMatrix BusinessWorks listens to the queue `tibss.IMS.sync.Request` for a MAP message. The message is sent by IMS by way of Substation. The BusinessWorks process sends back an updated MAP message to `tibss.IMS.sync.Response`. Substation ES reads the reply message and forwards it to the IMS program, issuing a `RESPONSE` transaction. Synchronization is done using the `tibss-envelope` field or property. | `CALLOUT-REQUEST` `(Trigger)` `SXI-CALLOUTRESPONSE` `(Recipe)` | Program
Listener for BYTES message - Queue
Listens to the queue `tibss.trigger` for BYTES messages. | `TRIGGER-BYTES` `(Trigger)` | Substation Internal
Listener for MAP message - Queue
Listens to the queue `tibss.trigger` for MAP messages. Sent by Substation ES Trigger `TRIGGER-FLDS` using the IMS Trigger process from IMS BMP SXICIPB1 program. | `TRIGGER-FLDS` `(Trigger)` | IMS BMP SXICIRR1 COBOL
Listener for TEXT message - Queue
Listens to the queue `tibss.trigger` for TEXT messages. | `TRIGGER-TEXT` `(Trigger)` | IMS BMP SXICIPB1 COBOL

Copyright © TIBCO Software Inc. All rights reserved.