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.
Jaroslaw Poswiata — — source: Informix-list mailing list archive (1991-1998)
Is it possible to get last parsed statement is ESQL/C (like onstat -g
ses id_ses)? Query is saved in sysmaster database, but where can I found
session id?
Thank you for anserws...
______________________________________________________________________________
Jaroslaw Poswiata Gdynia Obluze
tel. kom. 0601 256 192 prezes@ctm.gdynia.pl
↪ replying to Jaroslaw Poswiata
Rudy Fernandes — — source: Informix-list mailing list archive (1991-1998)
DBINFO('sessionid') returns the current session number. For example,
SELECT DBINFO('sessionid') FROM systables
WHERE tabname = 'systables';
will return your current session.
If its all sessions you want, look into sysmaster:syssessions
Rudy
Jaroslaw Poswiata wrote:
> Is it possible to get last parsed statement is ESQL/C (like onstat -g
> ses id_ses)? Query is saved in sysmaster database, but where can I found
> session id?
>
> Thank you for anserws...
> ______________________________________________________________________________
> Jaroslaw Poswiata Gdynia Obluze
> tel. kom. 0601 256 192 prezes@ctm.gdynia.pl
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.