>as funções PROGRAM() e SYS(16) na verdade não retornam o aplicativo que está sendo executado. Resolvi com a função ASTACKINFO() que gera uma matriz com várias informações do aplicativo e na segunda coluna tem o executável.
"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry