Call C$ASYNCRUN along with your remote applications to allow AcuConnect to run asynchronously.
CALL "C$ASYNCRUN" USING HANDLE-OF-CALL, PROGRAM-NAME, PARAMETER(S)
|HANDLE-OF-CALL USAGE HANDLE||Contains the handle of the CALL defined in working storage.|
|PROGRAM-NAME String Literal or PIC X(n)||Contains the name of the CALLed program.|
|PARAMETER(S) Any COBOL data type (optional)||Contains a parameter of the CALL. You may include as many parameters as you choose, separated by a space or comma, to define the CALL.|
By default, AcuConnect performs synchronous CALLs to remote applications. The client application CALLs the remote application and waits for a response from the server to continue processing. C$ASYNCRUN tells AcuConnect to allow the client application to continue processing even while the server application is active. This library routine works only with AcuConnect.