Re: Sessions count?



Hi,

It depends for what you need this.

It is possible with Work Management APIs and TCP/IP Management APIs.
You can get currently connected TCP sessions/ JOBS and count them.
But if you want some kind of log you must create repeatable background job
to run
in some time periods and gather informations and then store them in file.

Search for QUSLJOB , QUSRJOBI and maybe QTOCLPPJ , QtocRtvNetCnnDta in
TCP/IP Management API

Another way for tracing sessions is to create telnet exit point and on
Signon and Singoff you can
write log in file.

Another option is to use License Api to see number of active sessions (Usage
count) offcourse, if
required product is using License use management.


Niko


.