on 04-05-2005 6:44 AM
Can i capture the messages as event_wait capture events?
How do i do it?
thanks.
Hello Xu,
what do mean exactly be capturing the messages? Which messages?
Best regards,
Tilo Heinrich
SAP Labs Berlin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
MAXDB error message number ranges is -1 to -28999.
The error handle -51 is only a example.
In oracle, there is a function than i can define some operation for some error handleBWhen the error happened,the operation will be execute.
Now,i want to know if there is a same function like oracle and how to use it.
To say the least,if there isn't the same function.
Whether i can use some function(it is in dbmcli,dbmgui,webdbm)to get error handles?
thanks.
Hello Xu,
there is no such general functionality that allows one to react to any error happening within the database system and its management tools.
Usually you have to react on the error, when and where it happens. E.g. if you start backup with dbmcli you find the error message and the error text in dbmcli's output.
The database kernel itself is able to send its errors and system error via events. Those can be reacted upon with help of the event dispatcher.
Best regards,
Tilo Heinrich
Hello Xu,
as said earlier, you have two error categories. Errors of the database kernel and errors of administration tools such as dbmcli.
A) errors occuring outside of the database kernel, e.g. dbmcli:
If you call dbmcli within a script, or if you administrate the database via an API (e.g. JDBC, Perl) you can use the error messages, as your script or program can use these error messages.
If you use DBMGUI or call dbmcli manually, you have to react on the error messages manually.
B) errors occuring within the database itself
One can use MaxDB's event dispatcher to wait for and react on errors (e.g. send an e-mail) that are occuring within the database (e.g. -51).
Best regards,
Tilo Heinrich
SAP Labs Berlin
hello ,
Pl lemme know how to capture the system messages , im presently in the same situation , i need to capture the system messages and map them to them to the structure TRLOMESG , of the FM " LOAN_MESSAGES_GIVE "
If you know the solution , lemme know that
Regards
Anil
Message was edited by: Anil Vemuri
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.