HPlogo QUERY/V Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 3 QUERY/V COMMANDS

TRANSEND

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

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
Feedback to webmaster