MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » June 2014

capture the table name on SQL error



fixed

In a generic error capture routine, I have a need to retrieve the table name for SQL events. I can't find in the SQL CA where the table name(s) is(are) listed, so I'm hoping one of you knows where I can capture the name of the Table(s) involved in a SQLCod <> 0 and SQLCod <> 100 situation.

My requirement is to format the captured name into a CPF9898 message so that a standardized Condition Handler be invoked to report on the event.


Steve Needles

________________________________
This communication, including attachments, is confidential, may be subject to legal privileges, and is intended for the sole use of the addressee. Any use, duplication, disclosure or dissemination of this communication, other than by the addressee, is prohibited. If you have received this communication in error, please notify the sender immediately and delete or destroy this communication and all copies.

TRVDiscDefault::1201





Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact