LOGOFF

Logs off a specified port and disconnects it from the database.

Syntax

LOGOFF {port}

Syntax Elements

port is the port number in decimal.

Prompt

If you enter the LOGOFF command without a port number, the following prompt is displayed:

Port#=

Enter the number of the port, or to return to TCL without logging the port off, press return.

Comments

The port is disconnected to the point at which the logon to that port was initially made.

If the user logged on at the specified port by entering reality  at the UNIX shell or Windows Command prompt, the port is disconnected back to the system environment.

In UNIX, if the user logged on at the login prompt and the logon to the database was executed automatically by an exec reality  in the .profile, the port is disconnected back to the UNIX login prompt.

Example

:LOGOFF 4

The screen displays:

[534] LOGOFF SUCCESSFUL

Go to top button