Hi,
When running an sync job it seems that FFS is aborting on the first error
(when running as a batch job) - is this expected? I'm guessing that this is
related to the field "HandleError" in the batch file, but not sure how to
confirm this.
Thanks!
Abort on Error
- Posts: 45
- Joined: 20 May 2008
- Site Admin
- Posts: 7212
- Joined: 9 Dec 2007
You're probably using a silent batch mode and have "Exit with RC < 0" as error
handling strategy. In *.ffs_batch XML there would be a key
< HandleError > Exit < /HandleError >
But you can check your batch settings by loading them into the batch creation
dialog in FFS's GUI.
handling strategy. In *.ffs_batch XML there would be a key
< HandleError > Exit < /HandleError >
But you can check your batch settings by loading them into the batch creation
dialog in FFS's GUI.
- Posts: 45
- Joined: 20 May 2008
Yes, this is absolutely correct - and it's what I want ... but can I not have
an exit code in the case of errors, but ignore errors during the processing
(and then just flag that there were errors with the exit code)?
Thanks!
an exit code in the case of errors, but ignore errors during the processing
(and then just flag that there were errors with the exit code)?
Thanks!
- Site Admin
- Posts: 7212
- Joined: 9 Dec 2007
Sure: FFS will return with an error-code < 0 no matter what error handling is
used. So just "ignore errors" and check the return value, to test if
everything run smoothly.
used. So just "ignore errors" and check the return value, to test if
everything run smoothly.