Actually the Examples section of Sybase::CTlib clearly shows how to set a callback trap for Server side errors.
| [reply] |
Derby,
Thank you for the reply. I am very new to this DB modules of PERL. I have seen the examples link earlier. What I found out was, I can print the message code and message statements on standard error or console. But, what I need is to capture the entire message in a single string.
I came to know that "CS_HAFAILOVER" variable will hold the Error code. Similarly, do we have any vatiable which holds the entire error message, because I need to print the error message in a Log file
| [reply] |