Control-M for MFT enables you to watch a file until it reaches a certain size or has reached a maximum time limit. After the criteria is met, the file watch is complete, the file is transferred or continues to the next file transfer definition in the job.
To watch or watch and transfer files, see Defining a File Transfer job. To configure additional File Watcher parameter, see Configuring Control-M for MFT parameters.
The following table describes the parameters for a File Watcher job:
Parameter |
Description |
---|---|
Minimum detected size |
Defines the minimum number of bytes transferred before Control-M for MFT checks if the file is static. File size information for remote file systems is not supported. This feature is not supported on OS400, Tandem, MVS, OpenVMS, and OS2200 when the connection type is FTP. |
Maximum time to wait |
Determines the number of minutes to wait, in the Time Limit field, for a file to reach its minimum detected size and remains static, according to the values defined in the Configuration Management window, as described in Configuring Control-M for MFT parameters. If the value is 0, the file waits indefinitely. |
Wait until |
Determines the specific time, in the Time Limit field, that a file has to reach its minimum detected size and remains static, according to the values defined in the Configuration Management window, as described in Configuring Control-M for MFT parameters, before the watch fails |
Variable containing detected file name |
Defines the variable name that contains the detected file name |
Maximum file age |
Defines the maximum number of years, hours, and/or days that can pass since the watched file was last modified. For example, 2y3d means that after 2 years and 3 days have passed the file will no longer be watched. |
Minimum file age |
Defines the minimum number of years, hours, and/or days that must pass since the watched file was last modified. For example, 2y3d means that after 2 years and 3 days must pass before the file can be watched. |
Transfer all matching files |
Watches the first matching file with a wildcard and waits until the watching criteria is met, and then transfers all matching files The file watch criteria is checked for the first file. The remaining files are transferred without checking. |
NOTE: The Maximum file age and Minimum file age features are supported if the user defined for the watch host has write permissions on the destination path.
NOTE: In the job log, if the OSCOMPSTAT parameter is 7 it indicates that file watch failed.
Parent Topic |