We are having a problem with FTP pickup of a pharmacy orders file on our engine box. We are in the process of moving all of our interfaces from 3.8.1 to 5.3. Our new configuration is dual WIN 2003 boxes running clustered.
I have an outbound thread that is setup with a UPOC protocol running a file build TCL procedure. This file is picked up by our AS400 via a script that is kicked off every 45 seconds. The script resides and runs on the AS400 box. The script renames the file on the engine, then copies in the renamed file for processing. The original file is then deleted.
This process worked perfectly on our old single server WIN 2000 box, but when we moved the interface to the new hardware and version of Cloverleaf, strange things started to happen.
It seems that the script would pick up the first file OK, then on the second pull it would grab a copy of the same one it just processed, ignoring the newly created file on the engine. Maybe the file was in a buffer or something and reprocessed the same data again.
When checking the process on the engine, we can see that the engine thread was working perfectly and no duplicate data was being sent to the file. We could also see by watching and refreshing our view of the engine directory that the file would be created, we could see the rename and then the deletion of the original.
We changed the script kickoff to 90 seconds and it seemed to correct the problem, but we still felt uncomfortable with the change and moved the interface back to the old engine.
On the AS400, the only change made was that the address of the new machine was changed from hard IP to DNS name.
Could there be some timing issue here that would cause these strange things to occur? If anyone has seen any issue like this, I would really appreciate a response, any suggestion would help.