SETLOGIN

Sets the active login to a particular instance.

Syntax

SETLOGIN sesNo
ParameterDescription

sesNo

Login instance session number. Values:

  • prev - Previous number

  • next - Next session number

  • sessionNo - Integer representing session

Notes

This command sets the active login to the instance represented by previous, next, or a session number. To get session numbers, use the LISTLOGINS command.

Example

To set the ESSCMD session to login the previous login instance:

SETLOGIN PREV;

To set the ESSCMD session to login the next login instance:

SETLOGIN NEXT

To set the ESSCMD session to login instance number 2:

SETLOGIN 2

The following interactive example uses LISTLOGINS to get information needed for a subsequent SETLOGIN command. Commands typed by the user are shown in bold.

localhost:::system[1]->listlogins
ListLogins:


There are 2 Active Login Sessions.
     Login Session 1 -- localhost  system
     Login Session 2 -- localhost  EWhite

localhost:::system[1]->setlogin 2
SetLogin:


Switch to Login Session 2 -- localhost  EWhite

See Also

  • LISTLOGINS