Quantcast
Channel: Visual COBOL
Viewing all articles
Browse latest Browse all 5819

Forum Post: RE: Test insert update success

$
0
0
Hi Claudio, I am assuming that your are using a native code project on Windows and you are using ODBC with OpenESQL, is that correct? You can set the isolation level for a transaction in several different ways. You can set it using the ISOLATION compiler directive or as part of the BEHAVIOR directive. You can also use the EXEC SQL SET TRANSACTION ISOLATION statement. Please see the documentation here : You might also look at the DECLARE CURSOR as you can set concurrency options directly when declaring the cursor. If an insert or update fails then the sqlcode should be set to the appropriate error code and the error message will be placed in the sqlerrmc field of the SQLCA structure. If you turn off AUTOCOMMIT then yes, you can use EXEC SQL BEGIN TRANS with ROLLBACK or COMMIT to control your own transactions. To set a null value in a column you would move a -1 to the associated null indicator. Thanks.

Viewing all articles
Browse latest Browse all 5819

Trending Articles


FLASHBACK WITH SIRASA FM AT GALGAMUWA 2022


Mp3 Download: Mdu - Mazola


Imitation gun was fired at motorist in Leicester road-rage incident


Ndebele names


MCKINNEY EMALINE “EMMA” OF WES...


Okra & Motia — The Workshop (Prod by Hammer)


Skint TV teen to be sentenced


Moondru Mudichu 19-09-2017 – Polimer tv Serial


YOSVANI JAMES Arrested by Miami-Dade County Corrections on Jan 10, 2017


Stories • Goddess Stepmom



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