Quantcast
Channel: SCN : All Content - SAP Adaptive Server Enterprise (SAP ASE) for Custom Applications
Viewing all articles
Browse latest Browse all 757

Intercepting DBCC LOG output in an ASE ODBC application

$
0
0

Hi.


For obtaining DBCC LOG output - one should register a callback function.
ASE would provide means for doing that under DBLIB and CTLIB.
No documented way for achieving that found in ODBC interface (while ASA, IQ do support this...?)
Some folks say: Retrieve those messages via diagnostic / error reporting mechanism.
Indeed - when in 15.7 - I manage to loop along SQLGetDiagRec(...) or SQLGetDiagField calls and get them all.
Is it an officially supported / documented capability?
Is it there for all Sybase versions?

 

Thanks

 

H.E


Viewing all articles
Browse latest Browse all 757

Trending Articles



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