cobc: 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 Debian possible default full paths are:

/usr/bin/cobc - from package: open-cobol

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