SendFile request

The SendFile request specifies the following options:
  • LogicalFileName
  • TransferOptionSet
  • RequestType
  • FileSendOptionSet
  • SagMPOptionSet
  • DeliveryNotif
  • EntryNameInContainer
All other options are retrieved from option sets (either a named or the default option set of each type), or the system defaults are used.
The request specifies the value NULL for the following options:
  • Priority
  • Copy
  • AuthNotif
This causes the system default to be used, regardless of whatever value might be specified in an option set.
<ComIbmDni>
  <Version>1.0</Version>
  <OU>OU1</OU>
  <Function>
    <DNF_O_FT>
      <SendFile>
        <Request>
          <LogicalFileName>swift.rje.zip</LogicalFileName>
          <TransferOptionSet>TransferOpts3</TransferOptionSet>
          <TransferOptions>

        Note: The LocalDN, RemoteDN, and Service fields are not specified
              in this request, so the LocalDN, RemoteDN, and Service options
              that are configured in the transfer option set are used.

             <RequestType>pacs.xxx.sct.s.any</RequestType>
             <SendOptionSet>SendOpts3SnF</SendOptionSet>
             <FileOptionSet>RJEzip</FileOptionSet>
             <SagMPOptionSet>SagMPOpts</SagMPOptionSet>
          </TransferOptions>
          <SendOptions>
 
        Note: The following setting requests a delivery notification.

            <DeliveryNotif>true</DeliveryNotif>

        Note: Specifying the system default flag (NULL) for the Priority, 
              Copy, and AuthNotif options causes their system defaults to 
              be used, regardless of what is specified in option sets.

            <Priority>NULL</Priority>
            <Copy>NULL</Copy>
            <AuthNotif>NULL</AuthNotif>
          </SendOptions>
          <DelNotifOptions>
             <FailedDelivNotifAction>Event</FailedDelivNotifAction>
          </DelNotifOptions>
          <FileOptions>
             <EntryNameInContainer>transactions.rje</EntryNameInContainer>
          </FileOptions>

        Note: The empty SourceOptions element indicates that the 
              body of the request contains the file data.

          <SourceOptions/>
        </Request>
      </SendFile>
    </DNF_O_FT>
  </Function>
</ComIbmDni>