Message warehouse fields for MSIF message-transfer scenarios
When processing message-transfer scenarios, the MSIF transfer service records the information shown in Table 1 and Table 2. If the MSIF transfer service cannot determine the OU associated with a request, it records the information in the tables for DNFSYSOU (that is, views DNIV_MWH_DNFSYSOU and DNF_MWHEFM_DNFSYSOU).
| Field name | Data type | Mandatory | Description |
|---|---|---|---|
| MWH_OU_NAME | CHAR(8) | Yes | The name of the OU on behalf of which the message
is being processed:
|
| MWH_WMQI_MSG_ID | CHAR(24) FOR BIT DATA | Yes | The MSIF reference, which uniquely identifies the message and serves as the primary key in the message warehouse. It is identical to the MQMD.MsgId of the corresponding IBM® MQ message. |
| GMT_TMSTMP | TIME STAMP | Yes | Date and time, in Coordinated Universal Time (UTC), when the service requested that the message be stored in the message warehouse, or, if the message was updated, the date and time when the service last requested that it be updated. |
| MWH_MSG_STATUS | VARCHAR (16) | Yes | The current transfer state of the scenario.
|
| MWH_MSG_GRP | VARCHAR (50) | No | The message group ID, which is used to correlate
messages that belong to the same scenario, such as a request and its
corresponding response, or a DeliveryAck notification and its corresponding
request. This enables you to search for messages that belong to the
same unit of processing:
|
| MWH_BUSINESS_GRP | VARCHAR (50) | No | The business group ID, which is provided by
the requesting application and can be used to correlate scenarios
that belong to the same business transaction:
|
| MWH_EXT_MSG_ID | VARCHAR (50) | No | A message ID assigned by an external system:
|
| MWH_BODY_REP | CHAR(3) | No | The format of the data in the message body.
It is set to XML for:
Otherwise, this is null. |
| MWH_XML_MSG | CLOB (100M) | N | The message that was processed by the service.
The content of this field depends on the value of the attribute DnfContentMwh
of type DnfEfaOptionsMwh:
The MWH_XML_MSG field is empty until a message was received from an application or sent to the application. Consequently, the MWH_XML_MSG field is null until the corresponding request or notification was sent to the application. |
| MWH_GMT_TS | TIME STAMP | No | Date and time, in Coordinated Universal Time (UTC), when the service requested that the message be stored in the message warehouse. |
| MWH_PRIORITY | CHAR(1) | No | The request priority:
|
| MWH_PD_INDICATOR | CHAR(1) | No | Whether the message being transferred is a possible
duplicate:
How this value is set depends on the type of message
that is being processed:
|
| MWH_APPL_NAME | VARCHAR (100) | No | The name of the application that originated
the message:
|
| MWH_USER_ID | VARCHAR (100) | No | The user ID of the application that originated
the message:
|
| MWH_USER_DEF1 | VARCHAR (128) | No | Use these fields to satisfy your
own processing requirements:
|
| MWH_USER_DEF2 | VARCHAR (128) | No | |
| MWH_USER_DEF3 | VARCHAR (128) | No | |
| MWH_TRAFFIC_TYPE | CHAR(3) | No | The type of message traffic. Because the MSIF transfer service uses InterAct to transfer business messages, it is set to IA for message-transfer scenarios. |
| MWH_MSG_TYPE | CHAR (30) | No | The MX message type:
|
| MWH_DIRECTION | CHAR(1) | No | The direction of the message transfer from the
point of view of the SIPN. It is only set for a primary record:
|
| MWH_RECORD_TYPE | CHAR(1) | No | Indicates the type of record:
|
| MWH_EXT_IDENTIFIER | VARCHAR (16) | No | An identifier that indicates which service processed the message. For messages processed by the MSIF transfer service, this value is always set to ComIbmDnfEfa. |
| MWH_AUTH_STATUS | CHAR(8) | No | The authentication and authorization status
of a primary record, which indicates whether the corresponding InterAct
request:
|
| MWH_ROUT_DEST | VARCHAR (30) | No | Contains the logical destination determined by routing. |
The deprecated view DNI_MWH_ou provides the same information as DNIV_MWH_ou, except that it cannot display user IDs that are longer than 12 characters. The only difference between the two views is that, in DNI_MWH_ou, the data type of the MWH_USER_ID field is CHAR(12) instead of CHAR(100).
- (null)
- The authentication and authorization checks were not performed.
- OK
- The authentication and authorization checks were successful, or
the authentication checks were successful and the authorization checks
were not performed for one of the following reasons:
- The ASP specifies that the SWIFT service does not use RMA.
- The ASP specifies that the SWIFT service uses RMA, but the RMA trial stage for the service has not yet begun.
- SG_FAIL
- The attempt to authenticate the request by verifying its signature failed.
- SG_INV
- The request could not be authenticated because the certificate for signature verification was revoked or expired.
- RM_TNFND
- RMA is in the trial stage for the SWIFT service, and at least
one of the following conditions applies:
- The RM data store does not contain an authorisation for the specified combination of own BIC, correspondent BIC, service, and direction.
- The authorisation does not provide the necessary permissions.
- The current date and time are not within the validity period of the authorisation.
- RM_TINV
- RMA is in the trial stage for the SWIFT service, and the RM authorisation for the specified combination of own BIC, correspondent BIC, service, and direction was revoked, deleted, or rejected.
- RM_NFND
- RMA is in the mandatory usage stage for the SWIFT service, and
at least one of the following conditions applies:
- The RM data store does not contain an authorisation for the specified combination of own BIC, correspondent BIC, service, and direction.
- The authorisation does not provide the necessary permissions.
- The current date and time are not within the validity period of the authorisation.
- RM_INV
- RMA is in the mandatory usage stage for the SWIFT service, and the RMA authorisation for the specified combination of own BIC, correspondent BIC, service, and direction was revoked, deleted, or rejected.
If more than one authentication and authorization status applies to a message, the status that is closest to the bottom of this list is the value that is recorded. For example, if both SG_FAIL and RM_NFND apply, RM_NFND is recorded.
| Field name | Data type | Mandatory | Description |
|---|---|---|---|
| MWH_WMQI_MSG_ID | CHAR(24) FOR BIT DATA | Yes | The MSIF reference, which uniquely identifies the message and serves as the primary key in the message warehouse. It is identical to the MQMD.MsgId of the corresponding IBM MQ message. |
| MWH_IA_SCENARIO | CHAR(7) | No | The type of scenario associated with this record:
|
| MWH_ERROR | CHAR(1) | Yes | Whether the scenario associated with this record
is currently in a recoverable error condition (that is, whether the
transfer condition of the scenario is inError):
|
| MWH_MODE | CHAR(3) | No | The delivery mode:
|
| MWH_SERVICE | VARCHAR (30) | No | The name of the SIPN service:
|
| MWH_REQUEST_TYPE | VARCHAR (30) | No | The SIPN request type:
|
| MWH_LOCAL_DN | VARCHAR (100) | No | The DN that represents the local site:
|
| MWH_REMOTE_DN | VARCHAR (100) | No | The DN that represents the remote site:
|
| MWH_REQ_REF | VARCHAR (35) | No | A reference string that is used to associate
a request with corresponding response or error messages:
|
| MWH_RSP_REF | VARCHAR (35) | No | A reference string that is used to associate
a response with its corresponding request or with error messages:
|
| MWH_AH_MSGREF | VARCHAR (35) | No | A reference string specified by a local application
and used to uniquely identify the business message in a request:
|
| MWH_SN_REFERENCE | VARCHAR (50) | No | A unique ID assigned by the SIPN to a business
message:
|
| MWH_SESSION | VARCHAR (39) | No | This is the ID of the SnF session that was used
to receive a message:
|
| MWH_NOTIF_STATE | VARCHAR (20) | No | The notification state of a scenario:
|