|
Hi all
I'm going to use Scott's JDBCR4 for sync some DB2 Table with MS SQL Table;
as I need to trace and log the errors the I can get when I write or update
the MS SQL table, is there anyway to capture/get the message error like
Duplicate key or other similar error ?
For example : looking the examples in JDBCR4 library I see
rc = JDBC_ExecUpd( conn : 'Create Database testsck'
+ ' Default Character Set utf8'
+ ' Collate utf8_bin' );
if (rc < 0);
ErrMsg = 'Unable to CREATE database';
return *OFF;
endif;
in this case, can I get the cause why the CREATE database failed ? (already
exist , invalid name .. .)
thanks
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.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 on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.