IMS request type (imsRequestType)

This property indicates the type of IMS request and determines how output from the request is handled by the IMS TM resource adapter.

The following table describes the valid IMS request types.
Table 1. IMS request types
Value Named constant in IMSInteractionSpecProperties Description
1
IMS_REQUEST_TYPE_IMS_
TRANSACTION
The request is an IMS transaction. Normal transaction output that is returned by IMS is used to populate the application's output message. If IMS returns a DFS message, the IMS TM resource adapter throws an IMSDFSMessageException that contains the DFS message.

This value for the imsRequestType property is used for applications that are not generated from MFS message definitions through message input descriptor (MID) and message output descriptor (MOD) names.

2
IMS_REQUEST_TYPE_IMS_
COMMAND
The request is an IMS command. Command output that is returned by IMS, including DFSmessages, is used to populate the application's output message. The IMSDFSMessageException is not thrown.

This value for the imsRequestType property is used for applications that submit IMS commands.

3
IMS_REQUEST_TYPE_MFS_
TRANSACTION

The request is from an application that is generated from MFS message definitions through message input descriptor (MID) and message output descriptor (MOD) names.

Normal transaction output that is returned by IMS, as well as DFS messages, are used to populate the output message from the application. The IMSDFSMessageException is not thrown.