Recording data in the message warehouse

To enable the message warehouse function for a service:

  1. Open the CLI by issuing the following command:
    dnicli -i instance -ou SYSOU -s DNI_SYSADM
  2. Issue an add command to change the value of attribute DnfFlagMwh to Yes for the appropriate COs:
    • For messages processed by the SIPN FIN or FMT FIN services:
      add -ou ou -ct DnfOptionsMwh -co coName -attr DnfFlagMwh -val Yes
    • For messages processed by the MSIF transfer service:
      add -ou ou -ct DnfEfaOptionsMwh -co coName -attr DnfFlagMwh -val Yes
    • For messages processed by the SDF, MER routing, routing, or message printing services:
      add -ou ou -ct DnqOptionsMwh -co coName -attr DnqFlagMwh -val Yes
    where coName represents one of the COs listed in COs for enabling and disabling use of the message warehouse.
  3. For messages processed by the SIPN FIN, FMT FIN, MSIF, SDF, MER routing, routing, or message printing services, also issue a command to specify which parts of the message are to be stored in the message warehouse:
    • For FIN messages:
      add -ou ou -ct DnfOptionsMwh -co coName 
          -attr DnfContentMwh -val content
    • For MSIF requests:
      add -ou ou -ct DnfEfaOptionsMwh -co coName 
          -attr DnfContentMwh -val content
    • For messages processed by the SDF, MER routing, routing, or message printing services:
      add -ou ou -ct DnqOptionsMwh -co coName 
          -attr DnqContentMwh -val content
    where:
    coName
    Represents one of the COs listed in COs for enabling and disabling use of the message warehouse.
    content
    Specifies which information is to be recorded in the message warehouse:
    Index
    Information is retrieved from the message and stored in the message warehouse. Nothing is stored in column MWH_XML_MSG.
    IndexAndBody
    Information is retrieved from the message and stored in the message warehouse. Additionally, a hexadecimal representation of the FTM SWIFT message body (that is, the business message), encoded using CCSID 1208 (code page UTF-8), is stored in column MWH_XML_MSG.
    IndexAndMessage
    Information is retrieved from the message and stored in the message warehouse. Additionally, the entire FTM SWIFT message (that is, its headers and body) is stored in column MWH_XML_MSG. This is the default.
  4. Commit, approve, and deploy the changes:
    com -ou ou
    app -ou ou
    dep -ou ou

    If dual authorization is enabled, another user with the appropriate access rights must approve the changes before they can be deployed. If dual authorization is disabled, you can skip approving the changes and immediately deploy them.

To disable the message warehouse function, reissue the corresponding add command with the value of the DnfFlagMwh attribute set to No.

For example, to enable the saving, in the message warehouse, of the SendFile requests processed by the MSIF transfer service for the OU BANKA:

  1. Open the CLI with the following parameters:
    dnicli -i INST1 -ou SYSOU -s DNI_SYSADM
  2. Issue the add command to change the attribute value for the CO DnfOptionsMwhSndFileEfa:
    add -ou BANKA -ct DnfEfaOptionsMwh -co DnfOptionsMwhSndFileEfa
        -attr DnfFlagMwh -val Yes
  3. Commit, approve, and deploy the changes:
    com -ou BANKA
    app -ou BANKA
    dep -ou BANKA