xt5250: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/xt5250 - from package: tn5250

You may install the required package with command yum install {package}
Error in other languages:
xt5250: bevel nie gevind nie
xt5250: comandă negăsită
xt5250: comando não encontrado
xt5250: commande introuvable
xt5250: command not found
xt5250: käsku ei ole
xt5250: không tìm thấy lệnh
xt5250: komanda nerasta
xt5250: Kommando nicht gefunden.
xt5250: kommandot finns inte
xt5250: komut yok
xt5250: nie znaleziono polecenia
xt5250: níor aimsíodh an t-ordú
xt5250: no se encontró la orden
xt5250: no s'ha trobat l'ordre
xt5250: opdracht niet gevonden
xt5250: parancs nem található
xt5250: perintah tidak ditemukan
xt5250: príkaz nenájdený
xt5250: příkaz nenalezen
xt5250: команда не найдена
xt5250: командата не е открита
xt5250: 命令找不到
xt5250: コマンドが見つかりません