gtpc1m7eTransmission Control Protocol/Internet Protocol

CLAW Return Codes

The following table shows the return codes defined for calls to the CLAW workstation.

Table 13. CLAW Return Codes Defined for CLAW Functions

Symbolic Name Hex Value Description
RC_CLAW_GOOD_RETURN 0000 The return is correct.
RC_CLAW_INVALID_FUNCTION 0001 CLAW was called with a first argument that is not valid. This argument must be one of the CLAW restricted functions.
RC_CLAW_INIT_ALREADY 0006 A claw_initialization function was issued, but a previous claw_initialization had already been issued.
RC_CLAW_NOT_INITED 0007 A function was issued before the claw_initialization function.
RC_CLAW_ADAPTER_NOT_OPEN 000A The caller must specify an adapter ID parameter on several CLAW calls. This must be the value that was returned on a claw_openadapter call. If an incorrect value is specified, TPF CLAW services returns this error code.
RC_CLAW_ACQUIRE_ERROR 000B During the processing of a CLAW function call to a CLAW workstation, TPF CLAW system services was unable to obtain a control block needed to process the function call.
RC_CLAW_CONNECT_ERROR 000D An internal error occurred during processing of a claw_connect request.
RC_CLAW_DISCONNECT_ERROR 000E An internal error occurred during processing of a claw_disconnect request.
RC_CLAW_PATH_NOT_THERE 000F An incorrect path ID was specified for a CLAW request for that this parameter is required. Valid path IDs are passed to the user program in the connect_ep exit or returned to it after a claw_connect call, and remain valid until the path is ended using a DISCONNECT request. This return code may also be generated for a claw_connect request if the host or the workstation ends the pending path with a DISCONNECT request.
RC_CLAW_BAD_SEND_METHOD 0010 A claw_send request was issued with a send_method that was not valid.
RC_CLAW_BAD_RECV_METHOD 0011 A claw_connect or claw_accept request was issued with a recv_method value that was not valid.
RC_CLAW_SEND_ERROR 0019 A claw_send request encountered an error condition from the CLAW device interface.
RC_CLAW_INIT_ERROR 001B This error is returned from a claw_openadapter request. It indicates that the CLAW system validate processing did not complete successfully. A CLAW error log is generated, providing more information about the error.
RC_CLAW_BAD_QUERY_TYPE 001C This error is returned from a claw_query request. It indicates that the query_lvl parameter in the request was not valid.
RC_CLAW_DUPLICATE_ADAPTER 001D The call specified an adapter ID on the claw_openadapter function and the adapter is already active.
RC_CLAW_IO_OUTSTANDING 001E A claw_send request was issued and there is an I/O outstanding on the ECB.
RC_CLAW_FAIL_DURING_OPEN 001F An error occurred in the CLAW device interface that caused the adapter to close.
RC_CLAW_OPENDEVICE_ERROR 1000 TPF CLAW services uses the MSDAC macro call to mount the Read and Write devices specified in the claw_openadapter call. If MSDAC returns an error return code, this error code is returned as the return code from claw_openadapter.