Please enable JavaScript to view this site.

A-Shell Consolidated Reference

TRANSACTION'LOG'OPEN logspec

TRANSACTION'LOG'CLOSE

These are extensions only available in A-Shell (and which require the COMPIL /X:2 switch). TRANSACTION'LOG'OPEN opens a log file of the specified name (native or AMOS syntax, default extension is ITL for ISAM Transaction Log). Any file opened after the log file is opened in the current program will automatically have all its update operations logged to the file. This is a prerequisite for the TRANSACTION'BEGIN, TRANSACTION'COMMIT, and TRANSACTION'ROLLBACK operations.

TRANSACTION'LOG'CLOSE closes the current log file. If not done explicitly, it will be done implicitly at the end of the program.

See the discussion on Transactions and Logging for more details.