NAME

GRPC_PROBE - Checks the session execution status.

SYNOPSIS

INTEGER FUNCTION GRPC_PROBE(SID)

ARGUMENTS

INTEGER SID
The session ID

DESCRIPTION

The GRPC_PROBE() function returns the execution status of the session specified by the session ID.

This function is MT-safe.

RETURN VALUE

If the session is completed, GRPC_NO_ERROR is returned. Otherwise, GRPC_NOT_COMPLETED is returned. If the grpc_probe itself failed, Error code is returned.

ERRORS

GRPC_NOT_INITIALIZED
GRPC client is not initialized yet.
GRPC_INVALID_SESSION_ID
Session ID is not valid.
GRPC_NOT_COMPLETED
Call has not completed.
GRPC_OTHER_ERROR_CODE
Internal error detected.

last update : $Date$