Queries active sessions on the service and returns an information buffer for each active session, along with the number of currently active sessions.
Data String: A buffer that can hold the maximum number of active sessions times 12
Data Length: 12 * maximum sessions that can be active
Returns
Data Length: Number of active sessions (those with an open host connection)
Data String: A 12 character block for each session that is active. Each block has the format:
Byte 1 |
Short name session ID (interpret the long name for a numeric ID) |
Bytes 2-9 |
Long name session ID- formatted as SESSnnnn where nnnn is the session ID in format 0001...n where n is maximum sessions on server |
Byte 10 |
"H" for Host |
Bytes 11-12 |
Size of the presentation space expressed as a binary number (not ASCII). |
RetCode: WHLLSYSERROR: the service is not running and would not start