![]() | Programming Guide | ![]() |
Contains an engine-independent error or status message
@dmretmsgis cleared before Panther executes a newDBMScommand. If the command fails because of an error detected either by the engine or by Panther's data base driver, Panther writes an error message to@dmretmsgdescribing the failure. These messages are defined indmerror.hand are engine-independent. Refer to Table 12-3 for a listing of the codes and messages.When
@dmretcodeis0,@dmretmsgwill be empty.
proc dbi_errhandle (stmt, engine, flag)
msg emsg "Statement " stmt " failed." "%N"\
@dmretmsg "%N" @dmengerrmsg
return 1
![]()
![]()
![]()
![]()