DBUNLOCK [ HP Business BASIC/XL Reference Manual ] MPE/iX 5.0 Documentation
HP Business BASIC/XL Reference Manual
DBUNLOCK
The DBUNLOCK statement cancels the restriction imposed by the DBLOCK
statement with the same dbname.
Syntax
DBUNLOCK dbname$[, 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.
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.
Redundant DBUNLOCK statements are ignored.
Examples
The following example shows the use of the DBUNLOCK statement.
100 DBUNLOCK Db$
110 DBUNLOCK Db$,STATUS=S(*)
120 DBUNLOCK Db$,STATUS S(*)
MPE/iX 5.0 Documentation