force_cleanup
Reset a mainframe user session blocked as IN USE by a dirty disconnect, freeing it for new logons by walking through logoff protocol and issuing operator command.
Instructions
Force-reset the host-side session for the configured userid.
Use when a prior dirty disconnect (or external session) is holding the userid as "IN USE" and blocking new logons. Steps:
Drive the current TN3270 session through the robust logoff protocol (navigate to READY then LOGOFF).
If still dirty, surface a one-line operator instruction for the Hercules console MODIFY command which always works:
/F TSO,USER=<userid>,LOGOFF.
Returns a single-line status that the AI can echo verbatim.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |