Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

4gl runtime error

Status
Not open for further replies.

stovie

Technical User
Apr 7, 2003
32
US

Hi. I am running Informix 7.2 SE on SCO openserver 5.0.4.
I am trying to run a script with a 4ge program in it.
I have set Informixserver and other relevant environment
variables in both .profile and /etc/profile. The script
runs great from the command line in any directory, but
when I try to run the script as a cron job, it never runs
and I get a root mail saying there was a 4gl runtime error
#25560 INFORMISERVER varaible not set. Other cron jobs not
relating to 4gl programs execute without errors. Has anyone
had this problem?
 
Stovie:

When something runs from cron, you can't guarantee that your environment is set correctly. I'd create a script containing the environment setup, and then your 4ge.

Regards,

Ed
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top