Archiving

Files that are successfully processed by the FileInput node or FileOutput node can optionally be moved to the mqsiarchive subdirectory of the input or output directory.

The input directory of the FileInput node has a subdirectory called mqsiarchive. The output directory of the FileOutput node also has a subdirectory called mqsiarchive. Archiving is not enabled for the FTEOutput and FTEInput nodes.

FileInput node

Files that are processed successfully by the FileInput node are moved to the mqsiarchive subdirectory if the FileInput node's Action on successful processing property is set to Move to Archive Subdirectory or Add Timestamp and Move to Archive Subdirectory.

Select the Replace duplicate archive files check box to overwrite existing files in the mqsiarchive subdirectory. If you do not set this option, and a file with the same name already exists in the archive subdirectory, the node stops processing files. Every time that the node returns from its polling wait period, it issues a pair of messages, BIP3331 and a more specific one describing the problem. To avoid writing too many messages, duplicate messages are suppressed for increasing periods of time, until eventually they are issued only about once every hour. In this circumstance, the system administrator must stop the flow, correct the problem, then restart the flow.

Clear the Replace duplicate archive files check box only if you are sure either that the input files have unique names, or that some other process will remove a file from the archive directory before the FileInput node processes another of the same name. If you cannot ensure this, either specify Add Timestamp and Move to Archive Subdirectory in the Action on successful processing property so that archived files have unique names, or select the Replace duplicate archive files check box

FileOutput node

Files that are processed successfully by the FileOutput node are moved to the mqsiarchive subdirectory if the Action if file exists property of the FileOutput node is set to Append to Existing File, Archive and Replace Existing File or Time Stamp, Archive and Replace Existing File.

Select the Replace duplicate archive files check box to overwrite existing files in the mqsiarchive subdirectory. If you do not set this option, and a file with the same name already exists in the archive subdirectory, the node generates an exception when it tries to move the successfully processed file and the file remains in the transit subdirectory.