AFT Job With File Not Found

Everything about Control-M Control Modules
Post Reply
User avatar
fbladmin
Nouveau
Nouveau
Posts: 15
Joined: 28 Apr 2009 12:00
Location: Iowa

AFT Job With File Not Found

Post by fbladmin » 28 Oct 2009 10:31

We ran a new AFT job last night to FTP a file. The file specified (it did have an *.* in the file name) didn't exist. The job still completed successfully. We would have wanted it to fail.

How do others deal with this?

Thanks.

baralem

Post by baralem » 29 Oct 2009 12:24

If you use a mask for the file name then the job won't fail. You must use a specific file name (filename.ext) or you can add a step to indicate that job must fail in that case:
On Stmt=* Code=*No matching files for pattern*
Do NOTOK

regards

Martín.

User avatar
gglau
Nouveau
Nouveau
Posts: 317
Joined: 13 Jun 2007 12:00

Post by gglau » 30 Oct 2009 3:32

And clear "Continue on failure" for each transfer

User avatar
th_alejandro
Nouveau
Nouveau
Posts: 188
Joined: 26 Nov 2008 12:00
Location: Bogotá

uncheck

Post by th_alejandro » 04 Nov 2009 11:08

uncheck 'continue on failure' :wink:

User avatar
fbladmin
Nouveau
Nouveau
Posts: 15
Joined: 28 Apr 2009 12:00
Location: Iowa

Post by fbladmin » 12 Nov 2009 11:01

Thanks all. We have implemented your suggestions.

Post Reply