Try OpenEdge Now
skip to main content
Application Migration and Development Guide
Application Development with PAS for OpenEdge : Programming ABL Client Applications : Accessing PAS for OpenEdge resources from a client : Steps for accessing PAS for OpenEdge resources
 
Steps for accessing PAS for OpenEdge resources
To allow your client application to access and use a PAS for OpenEdge instance:
1. Create a server object handle.
2. Use the CONNECT( ) method on the server object handle to connect the instance.
3. Invoke remote procedure requests using the RUN statement and remote user-defined function requests, as provided by the business application. Delete any proxy procedure object handles to remote persistent procedures as they are no longer needed.
4. When all remote requests to the PAS for OpenEdge instance have completed, use the DISCONNECT( ) method on the server object handle to disconnect the client application from the instance.
5. Delete the server object handle.
The remainder of this chapter provides more information and code examples for each step in this process.