tcl.logoff

Verb: Access/TCL, Releases: AP and R83

Terminates session on specified port.

Syntax

logoff {port.number}

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)

Example

logoff<return>
line:677<return>
[534] logoff successful.

logoff 677<return>
[534] logoff successful.

See Also

Command Name Type Description
tcl.logon Verb: Access Initiates process on specified port.
tcl.logon_rp Verb: Access Initiates process on specified port number.
tcl.power-off Verb: Access Performs orderly system shutdown sequence.
tcl.check-ws Verb: Access Checks workspace for specified port.
tcl.list-logoffs Verb: Access Lists history of logoff commands.
tcl.reset-user Verb: Access Reinitializes a process
port.number Definition The port number associated with the process.
system.privileges Definition Description of privilege levels.
tcl.admin.control Menu Invokes system administraor menu.
tcl.off Verb: Access Terminates session.
ue.a116 User Exit Logs off a specified port.
ue.0032 User Exit Logs off the current process.
tcl.end Verb: Access Ends process.
hung.port Definition
tcl.exit Verb: Access Logs off process and disconnects.
tcl.:background-stop Verb: Access stops the background processor.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.