Understanding proxy procedure handles
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
When you execute a remote persistent, single-run, or singleton procedure in an ABL client application, two procedure handles are created: one within the client application session and another separate handle within the server session where the remote procedure is created. OpenEdge internally maintains a mapping between the two handles:
- The handle within the client application is a proxy procedure handle, and its
PROXYattribute is set toTRUE. The handle also hasPERSISTENT,SINGLE-RUN, andSINGLETONattributes. Of these, the one that corresponds to the option used with theRUNstatement that called the remote procedure is set toTRUE, and the other two are set toFALSE. - The corresponding handle within the server session is a remote procedure
handle, and its
REMOTEattribute is set toTRUE. The values of itsPERSISTENT,SINGLE-RUN, andSINGLETONattributes match those of the proxy procedure handle.
For more information on the relationship between proxy and remote procedure handles, see the information on procedure handles in Design and Implementation Considerations.