HP 3000 Manuals

TRANSEND [ QUERY/V Reference Manual ] MPE/iX 5.0 Documentation


QUERY/V Reference Manual

TRANSEND 

Marks the end of a logical logging transaction.

Syntax 

     TRANSE[ND] [data base name:] ["text"]

Parameters 

data base name         is the name of a currently open data base.  If no
                       data base name is specified, the transactions are
                       logged against the data base opened with the
                       DEFINE or DATA-BASE= command.

"text"                 is an optional character string to be written to
                       the log file.  It can contain any information that
                       you might want to include about the transaction.

Discussion 

This command allows you to designate the end of a logging transaction
from the QUERY subsystem in a similar manner to the IMAGE DBEND
intrinsic.

A transaction is defined as a sequence of one or more modifications which
changes a data base from one consistent state to another.  Logging allows
you to keep a record of transactions in the event of a system failure.
Marking the transactions with a TRANSBEGIN and TRANSEND, enables you to
restore your data base to a consistent state by suppressing those
transactions that failed to complete.  For further information on
transaction logging, refer to the IMAGE Reference Manual.

Logging must be enabled, and a TRANSBEGIN entered before a TRANSEND
command is accepted.  If you enter a TRANSEND without having entered a
prior TRANSBEGIN command, the following message is returned:

     NO TRANSACTIONS IN PROGRESS



MPE/iX 5.0 Documentation