Try OpenEdge Now
skip to main content
Developing AppServer Applications
Programming ABL Client Applications : Connecting an application service or AppServer instance : Creating a server object handle
 

Creating a server object handle

To create a server object handle, you must define a HANDLE variable and execute the CREATE SERVER statement to store the new server object handle. For example:
DEFINE VARIABLE hAppSrv AS HANDLE NO-UNDO.
CREATE SERVER hAppSrv.
You can then use this handle to physically connect to an AppServer instance or logically connect to an application service.