Shell script on Oracle hot backup got an error

Hi Unix Shell Script Expert,

We have a robust shell script (from old time) for our 9i database hot backup but generated error:

Shell Script Content:
#check for auto log mode and redirect as early as possible
#
autolog_enable $AUTOLOG_MODE $ORACLE_BASE/${ORASID_LOW}log/cron_hotbackup.log $*

Error:
/app//prod/hotback.ksh[20]: autolog_enable: not found.

Any idea what seems wrong?

Many thanks for your help!

It appears to be some kind of logging function for your hot backup script. "autolog_enable" is missing and was either another shell script or a KSH function loaded by your shell initialization. Is this error occurring on a different user than the one where the script is running through cron?