If a wildcard is used in the file name defined in the Job, and no files match the specified pattern, the job ends successfully. Sample job output: |
To make the job fail if no file was found, use the File Watch + Transfer capability of AFT and use an On-Do Action in the job definition to find "No matching files for pattern" in the job output and perform a Do -> Set to Not Ok |