Message warehouse fields for MSIF file-transfer scenarios
When processing file-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, in views DNIV_MWH_DNFSYSOU
and DNF_MWHEFA_DNFSYSOU).
The following figure describes the
MWH_AUTH_STATUS values for an MSIF file-transfer.
| Field name | Data type | Mandatory | Description |
|---|---|---|---|
| MWH_OU_NAME | CHAR(8) | Yes | The name of the OU on behalf of which the file-transfer
is being conducted:
|
| 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.
Possible transfer states are described in States of an MSIF scenario. For a DeliveryAck notification, this is the transfer state of the corresponding SendFile or DownloadFile scenario when the DeliveryAck notification was sent to the application. For a SendFile response, a ProvideFileForDownload response or a DownloadFile response, this is the transfer state of the corresponding SendFile, ProvideFileForDownload, or DownloadFile scenario when the response was sent to the application. |
| 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 correlates 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. For a file-transfer scenario, the value is always set to NULL. |
| MWH_XML_MSG | CLOB (100) | N | The content of this field depends on the value
of the attribute DnfContentMwh of type DnfEfaOptionsMwh:
|
| 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 priority of the file transfer:
|
| MWH_PD_INDICATOR | CHAR(1) | No | Whether the file being transferred is a possible
duplicate:
|
| 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 FileAct to transfer files, it is set to FA for file-transfer scenarios. |
| MWH_MSG_TYPE | CHAR(8) | No | The MX message type. For file transfers, the value is always NULL. |
| MWH_DIRECTION | CHAR(1) | No | The direction of the file transfer from the
point of view of the SIPN:
|
| 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 FileAct
request:
|
- (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.
- DG_FAIL
- The attempt to authenticate the request by verifying its digest failed. This applies to DownloadFile scenarios only.
- 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 request, 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_FA_SCENARIO | CHAR(7) | No | The scenario associated with this record:
|
| MWH_ERROR | CHAR(1) | Yes | Indicates whether the scenario associated with
this record is currently in a recoverable error condition:
|
| MWH_MODE | CHAR(3) | No | The delivery mode by which a request or notification
was delivered:
|
| MWH_SERVICE | VARCHAR (30) | No | The name of the SIPN service:
|
| MWH_REQUEST_TYPE | VARCHAR (30) | No | 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_TRAN_REFERENCE | CHAR (27) | No | A unique ID assigned by the SIPN to a file-transfer:
|
| MWH_FILE_APPL_SIZE | DECIMAL (15,0) | No | The file size in bytes before compression or after decompression. |
| MWH_FILE_NETW_SIZE | DECIMAL (15,0) | No | The file size in bytes after compression or before decompression. |
| MWH_FILE_INFO | VARCHAR (256) | No | Structured information, in Backus-Naur form, about the file to be transferred. |
| MWH_FILE_DESC | VARCHAR (256) | No | The description of the file contained in the request. |
| MWH_FILE_APPL_NAME | VARCHAR (1023) | No | The file name as known to the application involved in the MSIF scenario. If the file is passed to or from the application in the payload of a message, this field is null. |
| MWH_FILE_NETW_NAME | VARCHAR (254) | No | The name by which the file is known to the SAGs that participate in the file transfer. |
| MWH_NOTIF_STATE | VARCHAR (20) | No | The notification state of a scenario:
|