Re: Err 32766 when attempting to use dbaccess
Posted in 1997
Topics: Server Administration
Harald Hedlund wrote:
>
> I have troubles when I use dbaccess. I have a perl-script that parses
> email and then use dbaccess to insert mail into the database, I want to
> use this script by calling it from the .forward file.
>
> When I call upon the script from command line it works great, but when I
> call upon it through the .forward file it fails with error 32766. I have
> checked that it runs under correct permissions.
>
> Why do I get an error 32766 lie this:
>
> Unknown error message number '32766'
You need to set your envoronment in the script.
This includes setting INFORMIXDIR and PATH.
Hope that helps,
--
Mark.
+------------------------------------------------------------------+
|Mark D. Stock - The West Solutions Group http://www.west.co.za |
| The Informix FAQ is at http://www.iiug.org |
|mailto:marks@west.co.za +-----------------------------------------+
|Tel: +27 11 803 2151 |If it doesn't work, force it! |
|Fax: +27 11 803 2189 |If it breaks, it needed replacing anyway!|
|Cell: +27 83 250 2325 |Well, that's how I code anyway! |
+------------------------+-----------------------------------------+