Is there a way that an RPG program can log what happens when a program call fails? I need to know if what I am running is failing due to an authority issue or because it could not find the program. How would I do this?