TLOG-SUSPEND Command

The TLOG-SUSPEND command temporarily suspends transaction logging.

Format

TLOG-SUSPEND [(W)]

Parameter(s)

W

Waits for the transaction logging session to end before returning to TCL. The W option is useful in programs, as it allows system events to be synchronized.

Description

When TLOG-SUSPEND is entered, processing and dequeueing of transactions is suspended, “END OF SESSION” and an End-Of-File mark are written to the backup medium, and the backup medium is detached. This allows the backup medium to be temporarily assigned to another process. The transaction logging process, however, is not terminated and control does not return to TCL.

NOTE

The backup medium that was being used when transaction logging was suspended should not be used when logging is resumed. Instead, a new backup medium should be loaded into the drive.