Page 1 of 1

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

Posted: 17 Nov 2011 4:59
by eche1984
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

Posted: 18 Nov 2011 6:09
by Cagmin
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.