NAME

GRPC_FUNCTION_HANDLE_DEFAULT - Initializes a function handle.

SYNOPSIS

INTEGER FUNCTION GRPC_FUNCTION_HANDLE_DEFAULT(HANDLE, FUNCTION)

ARGUMENTS

INTEGER(KIND=8) HANDLE
The function handle to be initialized
CHARACTER(*) FUNC_NAME
The function to be executed on the remote machine

DESCRIPTION

The GRPC_FUNCTION_HANDLE_DEFAULT() function initializes a function handle. For the remote host name, the default remote host name specified in the configuration file is used.

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_SERVER_NOT_FOUND
GRPC client cannot find any server.
GRPC_FUNCTION_NOT_FOUND
GRPC client cannot find the function on the default server.
GRPC_RPC_REFUSED
GRPC server refused the initialization.
GRPC_OTHER_ERROR_CODE
Internal error detected.

last update : $Date$