Syntax
<autocommit_statement> :: = AUTOCOMMIT ON | AUTOCOMMIT OFF
Use
You use this
command for setting up a session to activate/deactivate AUTOCOMMIT mode for the database session.AUTOCOMMIT ON
AUTOCOMMIT mode is activated by default by the Replication Manager.
With
commands for loading data, a COMMIT is used to complete the insertion of a certain number of data records. The user can determine this number by means of the REPM Server command SET TRANSACTION SIZE. This mode is not relevant when data is unloaded, because the table contents in the database are not modified.If a
command file contains both COMMIT and ROLLBACK statements when AUTOCOMMIT mode is active, they will by ignored by the Replication Manager.Each
SQL statement is terminated implicitly by the REPM Server using a COMMIT.AUTOCOMMIT OFF
AUTOCOMMIT mode is deactivated.
All transactions must be terminated explicitly by means of a COMMIT in the command file.
You can group commands in units so that they can be completed or reset at once.
This mode applies to all SQL statements and
REPM Server commands, with the exception of FASTLOAD, TABLEEXTRACT and TABLELOAD. These commands run outside of the database transaction concept and the REPM Server always terminates them implicitly with COMMIT.Large transactions (a large number of data records to be loaded, for example) need a correspondingly large database log.