HP Business BASIC/XL Reference Manual - HP 3000 MPE/iX Computer Systems - Edition 1 (32715-90001)

4- 48
statement.
END REPORT DESCRIPTION
This stand-alone statement marks the end of a report description. There
is no output associated with this statement.
Syntax
END REPORT DESCRIPTION
Examples
The following example shows a line containing the END REPORT DESCRIPTION
statement.
100 END REPORT DESCRIPTION
The END REPORT DESCRIPTION statement acts as a comment if there is no
active report; if BEGIN REPORT has not executed.
If a report is active and this statement is executed, two possible
actions may occur. If another report section is active, that section is
ended. Otherwise, the statement is unexpected and an error occurs.
END SELECT
The END SELECT statement is part of the SELECT construct. It is used to
indicate the end of that construct. Refer to the SELECT statement for
more information.
END TRANSACTION
The END TRANSACTION statement defines the end of the sequence of
TurboIMAGE procedure calls begun by the BEGIN TRANSACTION statement. The
MSG parameter allows you to log additional information in the log file.
Syntax
END TRANSACTION
dbname
$, MSG[=]
str_expr
, [, MODE[=]
mode
]
[, STATUS[=]
status_array
(*)]
Parameters
dbname
$ A string variable whose value is a TurboIMAGE database
name.
dbname
must be the variable that was passed to a
successful DBOPEN.
str_expr
A string of ASCII characters of up to 512 characters in
length to be written as part of the END TRANSACTION log
record.
mode
If not specified, the value is set to one. The modes
are the following:
* mode1: end logical transaction.
* mode2: end logical transaction and write contents
of the logging buffer in memory to disk.
status_array
A 10-element short integer array to which TurboIMAGE
returns an error code. If an HP Business BASIC/XL
database statement specifies the STATUS option, an error
does not abort the program. Following execution of the
database statement the program can check
status_array
and handle the error. The values returned by TurboIMAGE
to this array are detailed in the description of the
status
parameter of the equivalent TurboIMAGE library
procedure.
Examples
The following examples show the use of the END TRANSACTION statement.
110 END TRANSACTION Db$,MSG=M$,MODE=1