Server Reference Guide : 7. ASOLib--OpenROAD Server Library : System Service Call Procedures : Ping System Service Call Procedure
 
Share this page                  
Ping System Service Call Procedure
Ping is a system SCP invoked using RemoteServer.Call4GL(). It counts the number of context session objects in the OpenROAD Server application, gets the date and time, and returns an information message in public attribute v_msg_txt of the uc_osca object passed using BYREF.
There is no need to create an ASO session before invoking ping. It needs only an OpenROAD Server application connection.
Parameters:
('Ping',  b_osca = uc_osca /*byref*/)
Return Data Type: None (SCPs are invoked by Call4GL)
Example—Ping:
i_status = CurRemoteServer.Call4GL ('Ping', b_osca = BYREF(OSCA));
i_status = OSCA.CheckAndHandleError (p_i_aso_retval = i_status);
message OSCA.v_msg_txt;