tibems_SetConnectAttemptCount

Function

Purpose

Modify the connection attempt limit.

C Declaration

tibems_status tibems_SetConnectAttemptCount(
    tibems_int count);

COBOL Call

CALL "tibems_SetConnectAttemptCount"
 USING BY VALUE count,
       RETURNING tibems-status
END-CALL.

Remarks

This setting governs all client tibemsConnection objects, limiting the number of times that connection objects attempt to establish a connection to the server.

Parameters

Parameter Description
count Set the connect attempt limit to this value.

The default value is 2. The minimum value is 1.