Copyright © TIBCO Software Inc. All Rights Reserved

> tibemsConnection_CreateSession
> Function
> Purpose
> Create a session object.
> C Declaration
> tibems_status tibemsConnection_CreateSession(
> tibemsConnection connection,
> tibemsSession* session,
> tibems_bool transacted,
> tibemsAcknowledgeMode acknowledgeMode );
> COBOL Call
> CALL "tibemsConnection_CreateSession"
> USING BY VALUE connection,
> BY REFERENCE session,
> BY VALUE transacted,
> BY VALUE acknowledgeMode,
> RETURNING tibems-status
> END-CALL.

> | connection and session have usage pointer.

> Parameters

> Parameter | Description
> connection | Create a session on this connection.
> session | The function stores the new session in this location.
> transacted | When true, the new session has transaction semantics. When false, it has non-transaction semantics.
> acknowledgeMode | This parameter determines the acknowledge mode of the session. Supply a value enumerated by tibemsAcknowledgeMode.

> Remarks
> The new session uses the connection for all server communications.
> See Also
> tibemsMsg_Acknowledge on page 24
> tibemsSession on page 286
> tibemsAcknowledgeMode on page 312

Copyright © TIBCO Software Inc. All Rights Reserved