tibemsConnectionFactory_SetClientID

Function

Purpose

Set the client ID of a connection factory object.

C Declaration

tibems_status tibemsConnectionFactory_SetClientID(
    tibemsConnectionFactory factory,
    const char* cid );

COBOL Call

CALL "tibemsConnectionFactory_SetClientID"
     USING BY VALUE factory,
           BY REFERENCE cid,
           RETURNING tibems-status
END-CALL.
Note: factory has usage pointer.

Parameters

Parameter Description
factory Set the client ID of this connection factory.
type Set the ID to this string.

Remarks

A client ID string lets the server associate a client-specific factory with each client program. When such a factory already exists, the server supplies that factory to the client. If a factory does not yet exist for the client, the server creates one, and stores it for future use by that specific client.