dmap2hrc: 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/dmap2hrc - from package: hercules

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/dmap2hrc - from package: hercules

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