HP 3000 Manuals

DBMEMO [ HP Business BASIC/XL Reference Manual ] MPE/iX 5.0 Documentation


HP Business BASIC/XL Reference Manual

DBMEMO 

The DBMEMO statement sends a message to the transaction log file.

Syntax 

DBMEMO dbname$, MSG[=]str_expr [, 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 to the log file.

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 DBMEMO statement.

     110 DBMEMO Db$,MSG=Message$,STATUS=Stat(*)
     120 DBMEMO Db$,MSG Message$,STATUS Stat(*)



MPE/iX 5.0 Documentation