FSUM2149I
No session was started. No pseudo-TTYs are available.Function = stat(),
ending name = 'TTY-name',
return value = return-value,
errno = errno-decimal (X'errno-hex'),
reason code = reason-code,
description = 'system-message'

Explanation

The OMVS command could not obtain a free pseudo-TTY which is required to start a session with the shell.

All pseudo-TTYs may be in use, or one or more may be unusable because of error conditions or definition errors.

If errors prevented the system from using one or more available pseudo-TTYs, other error messages should appear. See those messages for more information.

In the message text:
TTY-name
The pseudo-TTY name that was passed to stat() when this error occurred.
return-value
The return value from stat().
errno-decimal
The errno value, in decimal, returned from stat().
errno-hex
The errno value, in hexadecimal, returned from stat().
reason-code
The reason code returned from stat().
system-message
The system message corresponding to the returned errno value.

System action

The shell session is not started. If there are no other active sessions, the OMVS command ends and returns to TSO/E.

System programmer response

If the pseudo-TTY name in the second-level message is one higher than the last pseudo-TTY defined, the OMVS command looked at all the defined pseudo-TTYs and could not find one that was usable. If other messages appeared with this message, errors prevented the OMVS command from using some of the defined pseudo-TTYs. For more information, see the descriptions for those messages.

If all pseudo-TTYs are busy, you may need to define more pseudo-TTYs. This allows more users to start shell sessions.

If the displayed pseudo-TTY name is one that should be defined in the system, an error occurred when the system tried to see if that pseudo-TTY was defined. For a description of the errno values and reason codes from stat(), see z/OS XL C/C++ Runtime Library Reference.

Make sure that this master pseudo-TTY is defined correctly. The system looks for pseudo-TTYs starting at /dev/ptyp0000 and continues looking for pseudo-TTYs up through /dev/ptyp9999, in order. As soon as the system fails for one of these pseudo-TTYs, it looks no further.

User response

If no other error messages appeared with this one, all existing pseudo-TTYs may be in use. You can try the OPEN subcommand or OMVS command again later.

If other error messages appeared, perform the responses for those messages. If this problem is persistent, contact your system programmer with the information from all displayed messages.