cancel
Showing results for 
Search instead for 
Did you mean: 

Can i capture the messages?

Former Member
0 Kudos

Can i capture the messages as event_wait capture events?

How do i do it?

thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Xu,

what do mean exactly be capturing the messages? Which messages?

Best regards,

Tilo Heinrich

SAP Labs Berlin

Former Member
0 Kudos

oh,i'm sorry.

The system can report a message when a error happened.

For example,system report -51 error when lock request timeout.

But the message number display only.

In oracle,I can get the message number and open some plan task.

How can i get the message number in maxdb?

thanks.

Former Member
0 Kudos

What type of database client are you using, that reports the error -51? Can you please describe more of what you are doing and what you are trying to do?

Thank you,

Tilo Heinrich

Former Member
0 Kudos

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 handleBWhen 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.

Former Member
0 Kudos

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

Former Member
0 Kudos

your mean is i only see the the dbmcli's output and i can not using it?

Former Member
0 Kudos

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

Former Member
0 Kudos

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