The logoff BASIC program terminates a process on a given port and sends the port to the logon prompt.
The logoff process first attempts a normal log off by simulating a break and off sequence on the target port. If that times out, logoff escalates and forces the process into the debugger and simulates an off. If that fails, the target port is reinitialized, without attempting to clean up or recover its workspace.
The phantom ports (that is, the scheduler, transaction logger, and those hung ports) may now be properly logged off.
Process locks are released during a logoff and the tapes are detached. The errors file contains a history of logoffs.
|Specifies the port number to be set. If not specified, the port number is requested.
|(Echo) Displays selected messages even if capturing is on.
|Allows logging off the same port from two different lines simultaneously.
|Kills a shell if the process is shelled out.
|Kills the underlying UNIX pid or Windows thread.
logoff line: 677  logoff successful.
logoff 677  logoff successful.