Previous Topic: @FIND/@OBTAIN WITHIN SET/AREANext Topic: @FINISH Syntax


@FINISH—commits changes to database and terminates run unit

The @FINISH statement commits changes made to the database through an individual run unit and terminates the run unit. No further DML retrieval or modification statements can be executed until the appropriate BINDs have been issued and the necessary areas have been readied again.

If the run unit is sharing its transaction with another database session, the run unit's changes may not be committed at the time the @FINISH statement is executed.

Note: For more information about the impact of transaction sharing, see the Navigational DML Programming Guide.

Currency

Following the successful execution of an @FINISH, all currencies are set to null. You cannot perform database access activities until you issue an @BIND/@READY sequence.