HI
I have a requirement where in a RPG should invoke a web service and should wait for 7 sec and do the next operation if the control doent come back.
We use Lansa for our webserice. Meaning I will have to give a 'call' to lansa program from RPG. then this RPG should continue(after 7 sec) without the control going to the lansa function.
I dont want to submit a job as this might take some time.
Is there a way to call another program from RPG in a seperate thread or something. Can I not call another program without passing the control to the called program.
I want all these to happen interactively,
Any idea would be highly appreciated.
Thanks in advance
I have a requirement where in a RPG should invoke a web service and should wait for 7 sec and do the next operation if the control doent come back.
We use Lansa for our webserice. Meaning I will have to give a 'call' to lansa program from RPG. then this RPG should continue(after 7 sec) without the control going to the lansa function.
I dont want to submit a job as this might take some time.
Is there a way to call another program from RPG in a seperate thread or something. Can I not call another program without passing the control to the called program.
I want all these to happen interactively,
Any idea would be highly appreciated.
Thanks in advance
Comment