Hi,
I`m looking to improve a function we have that searchs for products via 3 different APIs... Right now, everything is synchronous, so was looking for a way to go asynchronous to launch 3 queries at the same time and use some sort of data control record to flag when all 3 process are done. I was trying to use INVOKE in a linux environment where I thought it was creating a new process and executing the command without waiting for the response?
It seems to work pretty much the same as SYS() except I don't receive the response code from OS? The main process seems to wait until the invoke command is done processing to continue its process...I thought that maybe I had to set param IW to 0, but that didn't do anything!
So, my question is:
Is there a way to execute a background process so that our main process doesn't wait for that background process to finish in linux? Worst case, I guess I could use a linux shell script... Note that this function could be executed in a WindX session or directly on the server (web queries).