HELP: Status of transaction in ESQL/C Online 4.1
Posted in 1994
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL
We use Informix ESQL/C Online 4.1 with straight C on Unix. Let's assume that in the middle of the application we do a BEGIN WORK followed by a couple of DELETE's and INSERT's. The program gets a signal before a COMMIT WORK or ROLLBACK WORK can be executed. The code must at this point exit. Here's the question: How can I find out whether I am in the middle of a transaction? Is there a function that would return some type of status that would tell the code that there are pending modifications? Replies to the group or by email are fine. Thanks, JP ------------------------------------------------------------------------------- Jean-Pierre Trevisani Project Leader Geac-CLSI Inc. 320 Nevada Street Phone: (617) 965-6310 x419 Newtonville, MA 02160 Fax : (617) 969-1928 USA Email: jpt@clsi.us.geac.com (internet) Canto Ergo Sum Render unto Geac what is Geac's and leave my opinions to me. ------------------------------------------------------------------------------- -- ------------------------------------------------------------------------------- Jean-Pierre Trevisani Project Leader Geac-CLSI Inc. 320 Nevada Street