I am tring to run a 5 line procedure, my.p content of which runs fine from inside procedure editor via shell script to run under cron. I need to run this procedure 2twice a day 2 minutes before another program.p kicks in.
Code:
DLC=/dlc;
export DLC
PROPATH=/rd/lib/nxt.pl:/rd/exec::/rd/cust:/rd/src:$DLC/;
export PROPATH
PATH=$DLC/bin:/rd/bin:$PATH;
export PATH
PROTERMCAP=/rd/opsys/rdtermcap;
export PROTERMCAP
PROMSGS=/dlc/promsgs
export PROMSGS
$DLC/bin/pro -p /rd/bin/my.p -U progressadmin -P mypass
I get compilation error as
Code:
Unknown or ambiguous table pv_user. (725)
** /rd/bin/my.p Could not understand line 1. (196)
Here is the problem, the procedure my.p runs fine when run from inside procedure editor, via command line or cron gives me these errors,
what am I missing?
Thank you all