Example definitions for sending OTMA messages to a remote IMS system

The following examples show the OTMA descriptors and IMS Connect configuration statements used to send OTMA messages to a remote IMS system.

The values shown in each of the examples correspond to the values shown in all of the other examples in this series.

OTMA descriptor definitions

In the following example, both an OTMA client descriptor and an OTMA destination descriptor are coded in the local IMS.PROCLIB data set.

The OTMA client descriptor, which is preceded by an M, defines a timeout value for acknowledgments. The OTMA destination descriptor, which is preceded by a D, defines the remote destination.

M ICON1            T/O=60
D DESC1 TYPE=IMSCON TMEMBER=ICON1 RMTIMSCON=ICON2 RMTIMS=IMS2

IMS Connect definitions

The following IMS Connect configuration statements are coded in the local IMS system.

HWS=(ID=ICON1,XIBAREA=100,RACF=N)
TCPIP=(HOSTNAME=TCPIP,PORTID=(8888),
 MAXSOC=50,TIMEOUT=5000)
DATASTORE=(ID=IMS1,GROUP=XCFGRP1,MEMBER=ICON1,
 TMEMBER=IMS1,DRU=HWSYDRU0,APPL=APPLID1)
RMTIMSCON=(ID=ICON2,HOSTNAME=ICON2.IBM.COM,
 PORT=9999,AUTOCONN=N,PERSISTENT=Y,IDLETO=60000,RESVSOC=10)