Initiated a SEND JOB transfer from the mainframe to a Linux system and it failed with message XCOMU0289E Command failed RC=127.
XCOM Data Transport for Linux12.0
User was setup in /etc/passwd to use the bash as it's shell, but the script was in korn shell.
The script was changed to bourne shell and the SEND JOB was sucessfull.
Some information about the RC=127:
In Linux, an exit code or errno of 127 primarily signifies "command not found." This means that the shell or program attempting to execute a command could not locate the specified executable in any of the directories listed in the system's PATH environment variable.