Example 2: Remote persistent procedure example
- Last Updated: January 27, 2016
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
The following code example shows how to instantiate a remote persistent procedure, order.p, on PAS for OpenEdge instance:
|
When the RUN statement for order.p completes, a reference to the persistent
procedure context is saved in handle hOrder. The
SERVER attribute for hOrder contains a reference to the server handle hAppSrv. When the internal procedure GetExistingOrder is run for persistent procedure hOrder, ABL uses the value of hAppSrv to
determine the PAS for OpenEdge instance and session where the persistent procedure is
located.