When I run a batch SFTP using COZBATCH, I get the following error message:
stty: !FSUMB045 failed to get termios attributes: EDC5137I Inappropriate I/O control operation. (errno2=0x05BC0119)
The job completes with a RC 0 and the file is transferred successfully (I think).
Any idea what may cause this?
Jerry Roman
EDC5137I on Batch SFTP
COZBATCH by default will run your login shell. This is is usually caused by having a "stty" command in either /etc/profile or $HOME/.profile.
The stty command will issue this error message if you are not connected with a TTY (terminal).
To avoid the problem, you can do something like this:
if tty -s; then
stty erase ^?
fi
The stty command will issue this error message if you are not connected with a TTY (terminal).
To avoid the problem, you can do something like this:
if tty -s; then
stty erase ^?
fi