Why does AFT ends OK when 'No matching files for pattern'?

Everything about Control-M Control Modules
Post Reply
User avatar
eche1984
Nouveau
Nouveau
Posts: 44
Joined: 28 Apr 2009 12:00
Location: Buenos Aires, Argentina

Why does AFT ends OK when 'No matching files for pattern'?

Post by eche1984 » 17 Nov 2011 4:59

Looking for a solution for an AFT job that ends OK with the message "No matching files for pattern", I found this thread [1] that helped me to solve this problem.

After read it, I would like to know why an AFT job ends OK if it doesn't find a file with the specified pattern, and therefore doesn't send any file?

I ask this question to understand this situation, which to me makes no sense.

Regards,
eche

[1] http://www.scheduler-usage.com/modules. ... pic&t=1703

User avatar
Cagmin
Nouveau
Nouveau
Posts: 2
Joined: 21 Oct 2011 12:00

Post by Cagmin » 18 Nov 2011 6:09

Because it has successfully connected and searched the directory. It is cleaner to force the failure with this option than forcing it okay, since there are many situations where a file might not necessarily there. Especially if you have a job that is transferring many files and only one isn't available.

A failure has to do with connection issues, incorrect permissions, things like that.

Post Reply