SET-COMMIT( ) method

(AppServer only; PAS for OE only)

Directs the transaction object to commit the transaction when the AppServer session completes the current request and returns execution to the client.

Return type: LOGICAL

Applies to: Transaction object handle

Syntax

SET-COMMIT ( )

If the operation is successful, the method returns TRUE. If a transaction initiating procedure is not active in the current AppServer session, this method returns FALSE. You also cannot invoke this method after prior invocation of a SET-ROLLBACK( ) method during service of the same client request.