The hstatus command shows the current status of the host sessions.
Synopsis
hstatus [host_application|session_number/range/all]
Description
The hstatus command reports the current status of the host application assigned to the associated host sessions. One host session corresponds to one logical unit (LU). The possible status states are described in the following table:
Status state |
Description |
Logging in |
A temporary state indicating the session is in the process of logging in immediately after a manual hassign or hlogin |
Logged in |
This state occurs after a successful login. The session is ready to accept a transaction (the transaction base screen is reached). |
Logging out |
A temporary state indicating the session is in the process of logging out immediately after a manual hlogout |
Logged out |
Indicates that service is still assigned, but the session has been logged out |
Recovering |
Occurs if the login procedure fails, the transaction ends somewhere other than the transaction base screen, or the recovery procedure ends somewhere other than the transaction base screen |
Unassigned |
Indicates that service was never assigned to the session or service was assigned and later manually deleted |
Not available |
Indicates the session is not available for use |
Free |
Indicates the session was manually freed |
Transaction |
Indicates the session is currently involved with a transaction |
This command is helpful in debugging problems with host applications and to check on the number of sessions actively involved on a call.
Example
The following example displays the current status of the host applications assigned to sessions 0 through 9.
hstatus 0-9
The following example displays the current status of all session numbers.
hstatus all
See also