Registering a procedure through Open Server calls requires these steps:
Call srv_regdefine to define the procedure name and map the name to the function to be called when the procedure is executed.
Call srv_regparam to describe the parameter or parameters for the procedure being defined.
Call srv_regcreate to complete the registration of a procedure.
Call srv_regdrop to unregister a procedure.