FSUM2157I
The pseudo-TTY could not be reset properly after an earlier error.Function = close(),
file descriptor = file-descriptor,
terminal name = 'TTY-name',
return value = return-value,
errno = errno-decimal (X'errno-hex'),
reason code = reason-code,
description = 'system-message'

Explanation

This is an informational message that appears along with other error messages, FSUM2149I in particular. Those error messages describe an error that prevented the system from using one or more defined master pseudo-TTYs. The system tries to close the unusable master pseudo-TTY before going on to try the next defined pseudo-TTY. The close() function failed with the errno and reason code displayed in the second-level TSO/E message. For an explanation of this errno and reason code, see z/OS XL C/C++ Runtime Library Reference.

The master pseudo-TTY named in the error message might not be open after this error occurs. There may be more problems with this pseudo-TTY later on.

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

System action

The system continues to try other defined pseudo-TTYs. However, this message appears only when no other pseudo-TTY is usable. 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

This message contains information about the first error the system found when trying to close a master pseudo-TTY. For an explanation of this close() error, see z/OS XL C/C++ Runtime Library Reference. Follow any recommended actions for this errno and reason code.
Note: The system may have experienced many master pseudo-TTY close() failures. Only the first failure is reported by an error message. Any close() errors for other master pseudo-TTYs might not be the same.

User response

Contact the system programmer with all the information from all second-level TSO/E messages that appeared with this one.