|Command||tcl.logoff Verb: Access/TCL
Applicable release versions: AP, R83
|Description||terminates a process on a given port and sends the port to the "logon" prompt.
If the "port.number" is not specified, it is requested.
The options to this verb have been removed and logoff has been made more robust in AP (release 5.2). The logoff process first attempts a "normal" logoff by simulating a "<break>" and "off" sequence on the target port. If that time 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.
"phantom" ports, the scheduler, the transaction loger and those nasty "hung" ports may now be properly logged off.
It is not recommended to logoff the transaction logger before entering "stoplog".
A process' locks are released during a logoff and the tape(s) are detached.
The "errors" file contains a history of logoffs. See "list-logoffs".
|Options||k kills a shell if process is "shelled out"
z reinitializes a process that is stuck or has aborted (R83 only)
logoff<return> line:677<return>  logoff successful. logoff 677<return>  logoff successful.