![]() | ![]() | Programming Guide |
Contains an engine-independent error or status message
@dmretmsgis cleared before Prolifics executes a new DBMS command. If the command fails because of an error detected either by the engine or by Prolifics's data base driver, Prolifics 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.If
@dmretcodeis 0, @dmretmsgis always empty.
proc dbi_errhandle (stmt, engine, flag)
msg emsg "Statement " stmt " failed." "%N"\
@dmretmsg "%N" @dmengerrmsg
return 1
![]()
![]()
![]()
![]()