Why IBM i refuses a second sign-on (QLMTDEVSSN)
How the IBM i limit on device sessions per user works, what it counts and does not count, and how it differs from a device name that is in use.
You are signed on to an IBM i from one device, you open another session with the same user ID, and the second sign-on is refused. The first session is fine. The usual cause is the Limit Device Sessions setting, the system value QLMTDEVSSN.
What the setting does
QLMTDEVSSN says whether the number of device sessions a user may have at the same time is limited:
0: The user is not limited.1: The user is limited to one device session.2to9: The user is limited to that number of device sessions.
IBM recommends 1, because one device per user lowers the chance of shared passwords and unattended devices. The limit can also be set in an individual user profile, so two users on the same system can have different limits.
What counts
Any extra device session of the same user counts, whether it is another phone, a PC emulator or a second tab in a terminal app.
IBM lists three things the setting does not restrict:
- The System Request menu. Using it on the device you are signed on at is not a second device session.
- A second sign-on from the same device.
- A user with a disconnected job can sign on to the system with a new device session.
What to do
- Find the other session. It may be a phone or tablet where the app is still connected, a PC emulator left open, or a session on a device you no longer have.
- Sign off there with
SIGNOFF, or end the session. - If you need two sessions at once, ask the administrator whether your limit can be raised. Do not share a user ID to get around it.
How this differs from a device name in use
A device name in use is about the display device, not the user. It happens when two sessions request the same device name, and it can fail even for different users. See 5250 display devices and device names. When the host cannot create or choose a device at all, see Cannot automatically select virtual device.
Related
- 5250 display devices and device names
- IBM i sign-on messages
- Why an IBM i session ends when idle
- The IBM i System Request menu
- IBM i Message Waiting light stays on: DSPMSG and delivery modes