[progress Communities] [progress Openedge Abl] Forum Post: Re: Server <name> Has...

  • Thread starter Thread starter Karikalan Ram
  • Start date Start date
Status
Not open for further replies.
K

Karikalan Ram

Guest
Thanks Brian, For example, I've an valid appserver handle and not sure whether its already handling any asynchronous calls before I submit any synchronous call I would like to check if any asynchronous calls are in process/uncompleted/queue. I can see some other external progress procedure runs asynchronous RPC with respective EVENT-PROCEDURE. I am developing the new program with the statement to submit synchronous RPC using same app server session handle. In this scenario, I've 3 options. 1. Use new appserver handle to submit synchronous RPC 2. Instead of running synchronous mode, submit the call in asynchronous mode. 3. Before submitting synchronous call check if any asynchronous call already in process. For option 3, I understand OpenEdge provides a mechanism to check the status of asynchronous requests for a session-managed connection or session-free operating mode. Just to make sure if no asynchronous calls are in queue/process, can we check this criteria by IF VALID-HANDLE(AppserverHandle) AND AppserverHandle:COMPLETE THEN /* To make sure no uncompleted aynchronous calls exists. */ RUN .p ON AppserverHandle. DO WHILE NOT AppserverHandle:COMPLETE: PROCESS EVENTS. IF AppserverHandle:COMPLETE THEN RUN .p ON AppserverHandle. END. Thanks.

Continue reading...
 
Status
Not open for further replies.
Back
Top