NAME

GRPC_PROBE_OR - Checks the session execution status.

SYNOPSIS

INTEGER FUNCTION GRPC_PROBE_OR(SIDS, N, ID)

ARGUMENTS

INTEGER SIDS(*)
The session IDs
INTEGER N
The number of session IDs stored in SIDS
INTEGER ID
An area for returning the session ID of the session that has completed execution

DESCRIPTION

The GRPC_PROBE_OR() function returns the execution status of the sessions specified by session IDs. If no sessions have been completed, the function returns an error.

This function is MT-safe.

RETURN VALUE

If successful, GRPC_NO_ERROR is returned. In the case of an error, error code is returned.

ERRORS

GRPC_NOT_INITIALIZED
GRPC client is not initialized yet.
GRPC_INVALID_SESSION_ID
Session ID is not valid.
GRPC_OTHER_ERROR_CODE
Internal error is detected.
GRPC_NONE_COMPLETED
No sessions have been completed.

last update : $Date$