Begins a unit of work. Provides users with an explicit way to control units of work; however, users are responsible for committing or rolling back their own work.
begin();
Always returns 1.
ot1.addProp(OT_PROP_TRANSPORT,”NNOT_TIL_OPEN_TSI”,”TestQueue”);
ot1.create(“putContext”);
ot1.open(“putTransport”);
data= “test message”;
ot1.setData(&Data);
ot1.begin();
ot1.put();
ot1.commit();
ot1.close();
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |