Skip to Content
0
Former Member
Jul 31, 2005 at 03:34 PM

How to get the number of current active external modes?

267 Views

hi all,

I need to get the number of currently active external modes. This can be done by calling function THUSRINFO. But this only works propperly, if you are logged on only once. If you are logged on more than one time then the function returns several entries in the parameter USR_TABLE. The entries mainly differ in the first parameter TID (type UTID, INT4) "terminal-identification" but how can I know which is the valid one for my current session. Functions TERMINAL_ID_GET, SPH_TERMINAL_IDENTIFY and SPH_TERMINAL_ID_GET dont work.

Or is there another way to get the number of active external sessions?

Thanks in advance,

Michael