OFF
Logs a user off the database.
Command Class
TCL-I command.
Syntax
OFF {(options}
Options
L Causes workspace to be unlinked.
D Disconnects completely from
the database, instead of just logging you off and returning you to the Logon Please:
prompt.
The D option is only applicable when the Reality user environment was started using the reality -U option. See comments below.
Comments
The OFF command logs you off the database and returns you to the point at which you logged on, except in certain circumstances when the D option is used. So, for example
-
If you entered
reality
(without the -U option) at the host command prompt, you are logged off and returned to the host command prompt.If you used telnet on a Windows host to connect to a remote database, you are logged off and the telnet link is disconnected.
- On a UNIX host, if you logged on directly from the UNIX login prompt and ran exec reality from .profile, you are logged off and returned to the UNIX login prompt.
-
On a UNIX host, if you ran
reality -U
, either at the UNIX shell or from .profile with exec, you entered the database from the database's Logon Please prompt. When you log off, you are returned to the database'sLogon Please
prompt.In this case, if you execute OFF with the D option, instead of returning to the
Logon Please
prompt, you are disconnected from the database completely and returned either to the UNIX shell, if the reality command was entered from there, or to the UNIX login or terminal server prompt, if the reality command was run with exec from the .profile script.See Also