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.