Running the IMS host callout IVP application

Run the IMS™ host callout IVP application to issue a synchronous or asynchronous callout message.

Before you begin

Prerequisites: The sample application must be deployed on your target Java EE application server.

Procedure

For asynchronous callout requests:

  1. Run the IV_S227J job as described in IV_S001T, which contains the introductory information asynchronous IMS Callout IVP application on the host. The sample output shows the request message as HELLO FROM IMS:
    CALL=ISRT                 
             0100 
    SEGMENT =(0E00HELLO FROM IMS        ) 
                   
    COMP                        RET CODE=OK 
    ALTPCB SOURCE/DEST=IVPDTOR3 RET CODE= 
    You can locate the following message in your server log or console. The presence of the message confirms that the IMS TM resource adapter Callout IVP MDB receives the asynchronous callout request from the host IMS Callout IVP application.
    SystemOut O Asynchronous callout request from IMS: HELLO FROM IMS 

For synchronous callout requests:

  1. Run the IV_S228J job as described in the IMS Callout IVP application on the host. The output shows the request message HELLO FROM IMS, and the response message HELLO FROM WEBSPHERE MDB:
    CALL=ICAL SENDRECV IVPDTOR4 001000 00050 00050
                   
              0003             0003             0000
    AIBOALEN = 0002, AIBOAUSE = 0002, AIBRSFLD = 003Y 
                   
    ------------------------------------------------------------------------- 
                   
    SEGMENT =(HELLO FROM IMS ) 
                   
    ------------------------------------------------------------------------- 
                   
    CALL=ICAL SEGMENT = (HELLO FROM WEBSPHERE MDB ) 
    COMP RET CODE=OK 
    You can locate the following messages in the WebSphere® Application Server log or console. The presence of the messages confirm that the IMS TM resource adapter callout IVP message-driven bean has received the synchronous callout request from the host IMS callout IVP application, and send a response message to the host IMS application:
    SystemOut O Synchronous callout request from IMS: HELLO FROM IMS 
    SystemOut O Synchronous callout response from WAS MDB: HELLO FROM WEBSPHERE MDB