Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Have you got this to work ? I built a datablade on Windows XP (dev copy of
9.40), installed it OK, but mi_get_transaction_id() seems to return a
constant, almost as if it is returning a session_id ! Have you managed to
try it on Solaris etc..
I can forward the blade code if required.
Regs,
Clive Haworth
"Claus Samuelsen" <csa@eye-bee-em.com> wrote in message
news:415e7150$0$55819$14726298@news.sunsite.dk...
> Clive Haworth wrote:
> > Hi.
> >
> > I need to get hold of the current transaction id. In oracle you can use
> > something like:
> >
> > select dbms_transaction.local_transaction_id from dual> >
> > This returns an identifier uniquely representing the current
transaction, or
> > null if not in a transaction.
> >
> > Does anyone know how to do this in IDS 9.20 or above?
> >
> >
>
> In IDS 9.40 a new function was added to milib: mi_get_transaction_id()
> returning id of current transaction.
>
>
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.