Watch Directories

Sterling Connect:Direct File Agent can monitor one or more watch directories. This includes local and network directories or S3 object stores that are accessible from the computer and userid running Sterling Connect:Direct File Agent. Sterling Connect:Direct File Agent scans the watched directories and optionally sub directories in regular intervals for newly added or changed files. If a new or changed file has been detected during a director scan, Sterling Connect:Direct File Agent will process the detected file.

When you use Sterling Connect:Direct for UNIX or Microsoft Windows, the watched directory is a UNIX path name or a Microsoft Windows path to the directory. When you use

Sterling Connect:Direct for z/OS, the watched directory can be a fully specified HFS path name for a file or a directory, a fully specified MVS data set name, a partial MVS data set name, or the name of a partitioned data set (PDS) or partitioned data set extended (PDSE). In addition, on Linux, you can also watch Amazon S3 or S3-compatible objects stores.

The following table describes the watch directory parameters.
Parameters Description
Watch Directory

Required. Provide a valid and fully qualified path to a local or network directory or to an S3 object store.

The path must be valid and accessible from the computer running Sterling Connect:Direct File Agent. The userid running Sterling Connect:Direct File Agent must have read permission on the directory and files to scan them.

Directory Description Type a comment to describe the watch directory. Comments are not used during the execution of Sterling Connect:Direct Integrated File Agent.
Monitor sub directories Enable this option to let Sterling Connect:Direct File Agent monitor files in the watch directory and in any sub directory. The default is to only monitor files located in the watch directory itself.


Microsoft Windows
Local directory:
Network directory using UNC:
Datasets starting with CUST.BENEFITS:
Library with members:
S3 Cloud Storage Example
S3 bucket “abucket” with a key “akey”:
S3://abucket/ akey