PermaLink Rollback action using DB2 LC LSX - pt. 3: odbc2 connector does allow manual rollback for DB2 table03/16/2005 04:43 PM
LSX
Sure enough, changing the statement that initializes my LCConnection object from this:

Set con = New LCConnection ( "db2" )

to this:

Set con = New LCConnection ( "odbc2" )

did the trick! Calling the LCACTION_ROLLBACK actually worked! For right now, my code just inserts additional records into the table and rolls back the transactions at the end of my code, restoring the table to its original state. I now need to update my code so that it uses LCACTION_TRUNCATE to clear the table before inserting records.
Comments :v
No comments.
Credits
NuTechs Powered by Domino
Search
Calendar
February 2012
Su
Mo
Tu
We
Th
Fr
Sa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Monthly Archive
Get Real, Detroit!
Real Detroit Weekly
SWARM
Service
With
A
Rapid
Motion


-- old Rally's Hamburgers credo
Lotus Domino ND6 RSS News Feed RSS Comments Feed Podcast Feed Geo URL netcraft RSS Validator Lotus Geek Chris. A. Brandlehner Open Notes Picture Database OpenNTF CoComment Integrated BlogSphere
By Category
The BlogRoll
About
Contact Me
Contact me, Michael Sobczak, using this e-mail address:

my first initial my last name at Yahoo dot com
Recent Entries
No Recent Blogs
Powered by
Blogsphere