Control-M for AFT 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 AFT parameters.
The following table lists the File Watcher parameters in the Advanced dialog box.
Parameter |
Description |
|---|---|
Minimum detected size |
Defines the minimum number of bytes transferred before Control-M for AFT checks if the file is static. File size information for remote file systems is not supported. On zSeries, iSeries, Tandem, and OS2200 platforms, only file existence is checked. |
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 AFT 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 AFT 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 according to the following:
In the job log, if the OSCOMPSTAT parameter is 7 it indicates that file watch failed.
Parent Topic |