I am trying to interface with a third-party vendor using an XML based interface. I can successfully create the initial file using NEW-PARSER, WRITE-FILE, and RELEASE-PARSER. I can also successfully parse a previously created file using the standard op-codes. However, it is when I attempt to combine the two where I run into problems.
Using the same code to create the initial file, I then enter a cycle of sleep and check waiting for an update to come back from the vendor's software. It appears as if my program is not releasing the file. When the file gets created, the vendor's program "hangs". It knows it's got a file to process, but can't because the file isn't free. As soon as my program reaches a timeout threshold and exits, the vendor's program immediately kicks into gear as it should.
I have attached a sample program. Can anyone help out with this?
Thanks.
