Message warehouse fields for FIN messages
- DNIV_MWH_ou
- This is a view of the main message warehouse table DNIMWH_PT_ou. It contains one entry for each message.
- DNF_MWHFN_ou
- This is a view of the adjunct message warehouse table DNFMWHFIN_ou. It contains additional fields that apply only to FIN messages processed by the SIPN FIN or FMT FIN services.
| Field name | Data type | Mandatory | Description |
|---|---|---|---|
| MWH_OU_NAME | CHAR(8) | Yes | The name of the OU to which the message belongs. |
| MWH_WMQI_MSG_ID | CHAR(24) FOR BIT DATA | Yes | The message ID. This ID serves as the primary key in the message warehouse. This ID must be unique within an FTM SWIFT instance, and can be used to identify the information in this and other tables that corresponds to a particular message. Typically, this value is an IBM® MQ generated unique message ID. |
| 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 status of the message or message file. Possible values are described in Possible values in the MWH_MSG_STATUS field. |
| MWH_MSG_GRP | VARCHAR (50) | No | The message group ID is used to correlate messages
that belong together, such as an outbound message and its acknowledgment.
This enables you to search for messages that belong to the same unit
of processing. The value of this field depends on whether the value
of the message field ComIbmDni.MessageGroup was set by an application:
|
| MWH_BUSINESS_GRP | VARCHAR (50) | No | The business group ID. This ID correlates the messages that belong to the same business transaction. |
| MWH_EXT_MSG_ID | VARCHAR (50) | No | The message ID which is from an external system, for example, the Unique Message Reference (UMR) in MERVA ESA. |
| MWH_XML_MSG | CLOB (100M) | No | The message that was processed by the service.
The contents of this field depend on the value of the DnfContentMwh
attribute of COs of type DnfOptionsMwh or DnqOptionsMwh:
|
| MWH_AMOUNT | DECIMAL (19,5) | No | The amount specified in the message. For
ISN and OSN messages, the value is derived from the first field 32
encountered in the message. If the field option of the field 32 is:
|
| MWH_CURRENCY | CHAR(3) | No | The ISO symbol for currency of the amount specified
in the message. For ISN and OSN messages, the value is derived from
the first field 32 encountered in the message. If the field option
of this field is:
|
| MWH_VALUE_DATE | DATE | No | The value date for the amount or item within
the message. For ISN and OSN messages, the value is derived from the
first field 32 encountered in the message. If the field option of
this field is:
|
| MWH_SENDER | VARCHAR (128) | No | Identification of the sender of the message. For ISN and OSN messages, the value is the BIC12 of the sender of the message. For ISN ACKs, the value is set to 'SWIFT'. |
| MWH_RECEIVER | VARCHAR (128) | No | The BIC12 of the receiver of the message. |
| MWH_ISN | INTEGER | No | The input sequence number (ISN) used to identify a message that is passed to the network. For ISN messages and ACKs, the value is the input sequence number of the FIN message. For OSN messages, this field is null. |
| MWH_OSN | INTEGER | No | The output sequence number (OSN) used to identify the message that is received from the network. For OSN messages, the value is the output sequence number of the FIN message. For ISN messages and ACKs, this field is null. |
| MWH_APPL_REFERENCE | VARCHAR (32) | No | Application assigned unique identification. For ISN and OSN messages, the value is the content of field 108. For ISN ACKs, this field is null. |
| 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_AUTH_STATUS | CHAR(8) | No | The authentication and authorization status
of the message. For FIN messages, possible values are:
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. |
| MWH_PD_INDICATOR | CHAR(1) | No | Whether the message is a possible duplicate:
|
| MWH_APPL_NAME | VARCHAR (100) | No | The name of the application that originated the message. For ISN ACKs and OSN messages, the value is always SWIFTNETFIN. If the message was created with the MER Facility, the value is DNQMER. |
| MWH_USER_ID | VARCHAR (100) | No | For a message that is not routed
to by the MER Facility:
|
| MWH_TRAN_REFERENCE | VARCHAR (16) | No | Unique identification of the transaction. For ISN and OSN messages, the value is the content of field 20 or field 20C. For ISN ACKs, this field is null. |
| 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_IDENTIFICATION | VARCHAR (16) | No | Unique identification within the network. |
| MWH_SESSION | INTEGER | No | Session ID of the session. For FIN messages, this is the number of the FIN session used to send the message. |
| MWH_MSG_TYPE | VARCHAR (30) | No | The type of message processed by the SIPN FIN
or FMT FIN services:
|
| MWH_EXT_IDENTIFIER | VARCHAR (16) | No | An identifier that indicates which service processed
the message:
|
| MWH_MSG_REFERENCE | VARCHAR (64) | No | A reference to the message within the extension. |
| MWH_PRIORITY | CHAR (1) | No | The priority of the message. For FIN message,
Possible values:
|
| MWH_EXTENSION_DEF1 | VARCHAR (128) | No | An extension can use this field to satisfy special processing requirements.
If browser-based message printing is enabled, this field contains
the date and time, in Coordinated Universal Time (UTC), when the MER Facility routed and printed a
message. If the message was printed multiple times, this is the timestamp of the last print action.
The value is a combined date and time with one of the following patterns:
|
| MWH_EXTENSION_DEF2 | VARCHAR (128) | No | An extension can use this field to satisfy special processing requirements. |
| MWH_EXTENSION_DEF3 | VARCHAR (128) | No | An extension can use this field to satisfy special processing requirements. |
| MWH_TRAFFIC_TYPE | CHAR(3) | No | The type of message traffic. The value is always FIN. |
| MWH_BODY_REP | CHAR(3) | No | The format in which the data in the message
body is represented:
|
| MWH_DIRECTION | CHAR(1) | No | The direction of the message transfer from the
point of view of the SIPN:
|
| MWH_ROUT_DEST | VARCHAR (30) | No | The destination to which the message was routed. The
value depends on the service which processed the message (that is, it depends on
the value in field MWH_EXT_IDENTIFIER):
|
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).
| Field name | Data type | Mandatory | Description |
|---|---|---|---|
| MWH_WMQI_MSG_ID | CHAR(24) FOR BIT DATA | Yes | The message ID. This ID serves as the primary key in the message warehouse. This ID must be unique within an FTM SWIFT instance, and can be used to identify the information in this and other tables that corresponds to a particular message. Typically, this value is an IBM MQ generated unique message ID. |
| MWH_DATE | DATE | No | Input date of an ISN message or ACK, or output date of an OSN message. |
| MWH_TIME | TIME | No | Input time of an ISN message or ACK, or output time of an OSN message. |
| MWH_SENDER_ISN | CHAR(6) | No | For OSN messages, the Message Input Reference of the corresponding ISN message. |
| MWH_DELMON | CHAR(1) | No | Delivery monitoring option as defined by SWIFT. |
| MWH_OBSPER | CHAR(3) | No | Obsolescence period of the message. |
| MWH_SERVICE | CHAR(3) | No | Service code. This is the content of field 103 of the message. |
| MWH_RELREF | CHAR(16) | No | Related reference. This is the content of field 21 of the message. |
| MWH_EXCEPT_TYPE | VARCHAR (32) | No | If a message could not be processed, the exception type that was used to determine to which exception queue to route the message. |