FSUM2358
The session with the shell ended because of an unexpected I/O error. Function = tcflush(), file descriptor = number, terminal name = 'string', return value = number, errno = number (X'hexnum'), reason code = hexnum, message = 'string'

Explanation

An I/O error occurred when trying to flush data that was queued for the pseudo-TTY. This error caused the session with the z/OS shell to end.

In the message text:
file descriptor = number
The file descriptor that was being used when this error occurred.
terminal name = 'string'
The name of the pseudo-TTY that was being used when this error occurred.
return value = number
The return value reported by the system for this error.
errno = number (X'hexnum')
The errno value returned by the system for this error. For more information about this errno value, see z/OS XL C/C++ Runtime Library Reference. If errno = 0, no errno information is available from the system for this error.
reason code = hexnum
The reason code returned by the system for this error. For more information about this reason code, see z/OS UNIX System Services Programming: Assembler Callable Services Reference.
message = 'string'
A system error message that describes this error as reported by errno. If errno = 0, this message is not meaningful.

System programmer response

Make sure that TSO/E commands used while OMVS is switched to TSO/E do not use any file descriptors that were opened by the OMVS command.

User response

If this error occurred shortly after you switched to TSO/E and then returned to the z/OS shell, the TSO/E commands that were invoked may have caused this error. Contact the system programmer with this message number and the variable information displayed in the message.