Syntax

The complete syntax for the LOGOFF command is:
 
LOGOFF
 

You must issue LOGOFF when you leave your console and your installation requires operators to log on before issuing commands.

When your installation requires LOGON, the LOGOFF command leaves the console in a secure state. This applies to MCS and HMCS consoles only. The system does not accept commands from this console until another LOGON command is completed.

For SMCS consoles, use LOGOFF to deactivate the console. You can use LOGOFF whether the operator has logged on to the SMCS console or not.

Start of changeIf a TIMEOUT value is specified for the console and an operator has logged on with a user ID, the system will automatically issue a LOGOFF command after the number of minutes specified by TIMEOUT has elapsed without any console input activity (pressing an attention-generating key, such as Enter, PA1, PA2, or a PFK).End of change

For MCS and HMCS consoles, if LOGON is automatic at your installation, the system issues another automatic MCS LOGON command for this console, after performing the LOGOFF.

Start of changeIf a TIMEOUT value is specified for a console with LOGON(AUTO), a LOGOFF command will not be issued (that is, the TIMEOUT value will be ignored) if the user ID and console name are the same.End of change

Example:

To leave your console secure, enter:
LOGOFF