WAAE File Watch job not completing when file arrives
search cancel

WAAE File Watch job not completing when file arrives

book

Article ID: 193756

calendar_today

Updated On:

Products

CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - System Agent (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) Workload Automation Agent Autosys Workload Automation

Issue/Introduction

We have an application that has several file watcher jobs that do not go to success when the file arrives.

Job Definition example:
insert_job: 123_fw   job_type: FW
machine: host1234
owner: user1234@ad
date_conditions: 1
days_of_week: mo,tu,we,th,fr
start_times: "00:05"
term_run_time: 1020
timezone: EST5EDT
watch_file: "\\prod\data\Form.%ipv_as_of_date%.csv"
watch_interval: 60

 

 

 

Environment

Release : 11.4

Component : CA Workload Automation AE (AutoSys)

Resolution

The job owner lacked permissions to the directory where the file was located. While a lack of permissions like that will cause a command job to fail it does not cause filewatchers or filetriggers to fail. They will continue to run and just report permission issues in the job logs until they can successfully see the file or the job is killed.

The messages in the logs may look something like:

Error scanning \\prod\data\Form.20200602.csv: 5 (Access is denied.)