LOGON command

Use the LOGON command to identify yourself to the system when your installation requires operators to log on before issuing commands.

The LOGON command enables an operator to access the SMCS console. An installation can indicate that this command be mandatory.

Guideline: If an SMCS console session can be established from outside a secure area, logging on should be mandatory.

Start of changeTypically, an operator logs on to a single console. If your installation wishes to allow an operator to be concurrently logged on to multiple consoles within a system or sysplex, your security administrator can allow this. When the security profile MVS.MULTIPLE.LOGON.CHECK is defined in the OPERCMDS class, an operator may log on to multiple consoles. Defining this profile allows all operators to be able to log on multiple times. There is no limit to the number of consoles to which an operator may be logged on. Operators are still required to provide a password while logging on to each console.End of change

To remove the LOGON prompt from the screen for MCS and HMCS consoles, use the CLEAR key or the PA2 key. For SMCS consoles, the prompt cannot be cleared from the screen until the console is successfully logged on. To restore the prompt enter:
LOGON userid

The LOGON command restores the logon prompt display.

The userid is an 8-character field where you enter your operator userid. The userid parameter is optional; the system will prompt you for it. Issuing the LOGON or LOGON userid command results in the LOGON prompt being displayed. The LOGON prompt is presented in the Syntax section of the LOGON command.

The LOGON command has been architected such that all keywords and keyword values appear in the same position when the LOGON command is issued. All LOGON commands are issued as if they were issued from a typical console that is 80 columns wide. For the architected LOGON mapping, which is mapped by CNZMYLGN, see z/OS MVS™ Data Areas in the z/OS Internet library.

Note that the system does not substitute text for system symbols specified in the LOGON command.