Problem:
When trying to run a Unix script that invokes a Cobol program, it runs fine when manually running it from the shell. So you are able to run the script as the user from a menu.
However, when running the script from a cron as the same user it won't work - the error
"could not obtain latest contract from popen(3C): No such process"
appears.
Resolution:
The problem here was the "popen" error message seemed to be a generic error message.
This particular program had "display" in it - running it in the cron caused the above "popen" error - when commented the displays out the error no longer appeared.
It was identified as a Solaris error and they can provide a fix for this.



