GRPC_GET_ERROR - Returns the error code generated by the session.
INTEGER FUNCTION GRPC_GET_ERROR(SID)
INTEGER SID The GRPC_GET_ERROR() function returns the error code that was generated in the session specified by session ID.
This function is MT-safe.
If successful, the error code is returned.
GRPC_NOT_INITIALIZED GRPC_INVALID_SESSION_ID