GRPC_WAIT_AND - Waits for multiple sessions to end.
INTEGER FUNCTION GRPC_WAIT_AND(SIDS, N)
INTEGER SIDS(*) INTEGER N The GRPC_WAIT_AND() function waits for all of the sessions specified by sessions to end.
This function is MT-safe unless multiple wait functions wait the same sessions simultaneously.
If successful, GRPC_NO_ERROR is returned. In the case of an error, Error code is returned.
GRPC_NOT_INITIALIZED GRPC_INVALID_SESSION_ID GRPC_SESSION_FAILED GRPC_TIMEOUT_NP GRPC_OTHER_ERROR_CODE