Msg-to-File Options


Use this dialog to define the message-to-file transfer parameters for this dispatcher.

Fields

File Name (required)
The name of the template to use when writing the file or files from the message-to-file transfer. A message-to-file transfer could generate several files. Depending upon how your application works, you may want to define this template with one or more pound signs (#) that are replaced with a sequence number for each file.

Example: If multiple files would be overwritten before the application can process the data, you should define the File Name using the # variable.

End-of-File Method
The method the connector uses to distinguish the end of each file (provided that you specified one or more # variables for
File Name above); one of the following:

Count
Specifies that the end-of-file occurs after
n messages have been received. The n is specified under End-of-File Count below.

Time
Specifies that the end-of-file occurs after
n minutes have elapsed.

Null Message
Specifies that the end-of-file occurs when the connector receives a zero-length message.

End-of-File Count (required if Count or Time is selected)
The number of messages received or the number of minutes that elapsed before the end-of-file occurs; the value specified here corresponds to the Count and Time fields above.

Path
Location for the output file or files.

Transfer Mode
Whether the message-to-file message transfer should occur in text or binary mode.

New Line (checkbox)
If checked, and Transfer Mode above is set to Text, the message-to-file dispatcher adds a newline character to the end of each message/file record if one does not already exist.