Function
Create a session object.
tibems_status
tibemsConnection_CreateSession(tibemsConnection
connection,tibemsSession
* session,tibems_bool
transacted,tibemsAcknowledgeMode
acknowledgeMode );
CALL "tibemsConnection_CreateSession" USING BY VALUE connection, BY REFERENCE session, BY VALUE transacted, BY VALUE acknowledgeMode, RETURNING tibems-status END-CALL.
The new session uses the connection for all server communications.
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 .
|
TIBCO Enterprise Message Service™ C and COBOL Reference System Release 4.3, February 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |