I have a process that uses a FTP node to transfer a CSV file from a remote server to a share on the LSF server, then uses a Data Iterator to read the CSV, construct, then execute a SQL Update command. It's been working fine, then I had to spoil it by testing my error handling.
I induced an error by putting invalid syntax in the SQL command. The error handler works as expected, but when the process completes, the Lawson user still has the CSV locked. The next run, the FTP node bombs because the file's in use. I added a SysCommand node with a DEL command, but that also bombs because the file's in use. I can't delete it from the share using Windows Explorer for the same reason.
The lock seems to be induced when the process encounters an error.
Anybody know how to get IPA to let go of the file?
If it's something I can do in the error handler, that would be great, but another concern is "log/notify and stop" error, but I haven't had chance to try that yet.