Asynchronous request handles
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Associated with each asynchronous request is an asynchronous
request handle. An instance of this handle is created each
time you execute the RUN...ASYNCHRONOUS statement.
Thus, you can use this handle to obtain information on a specific
asynchronous request.
The ABL client allows you to access this handle in three ways:
- Using the
SETasync-request-handle option on theRUN...ASYNCHRONOUSstatement. - Using the
FIRST-ASYNC-REQUESTandLAST-ASYNC-REQUESTattributes of the server handle or theNEXT-SIBLINGandPREV-SIBLINGattributes of the asynchronous request handle to walk through the valid asynchronous request handles for the specified server. - Accessing the
SELFsystem handle within an event procedure in response to the asynchronous request.
For more information on using the asynchronous request handle, see Handling the response from an asynchronous request.