Quantcast
Channel: SCN: Message List - SAP Adaptive Server Enterprise (SAP ASE) for Custom Applications
Viewing all articles
Browse latest Browse all 3587

Re: Intercepting DBCC LOG output in an ASE ODBC application

$
0
0

Hi,

 

Looping through them all SQLGetDiagRec() would be the way forward as far as I can see.

The output of dbcc log (as with other dbcc commands) will be sent in what we call 'EED' tokens which are used to send errors and warnings. You would need to iterate through these.

OdbcInfoMessageEventArgs would be the class to use from a .NET application.

This should work on any supported ASE\ODBC version.

 

Cheers,

 

Simon


Viewing all articles
Browse latest Browse all 3587

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>