Re: i4gldemo
Posted in 2004
Neil Truby wrote:
> I've got a little further with this, thanks to Hal Maner.
> This is 5.20 "extended edition".
> So, as I understand it, I don't need a sqlexecd process (there isn't one
> anyway).
>
> So, in my $TBCONFIG I have:
>
> DBSERVERNAME ifx_tcp_1 # Unique name of this OnLine instance>
> In my sqlhosts:
>
> ifx_tcp_1 olsoctcp 192.168.1.52 sqlexec>
>
> In /etc/services
>
> sqlexec 5102/tcp # Informix Online Instance 1
>
> But when I try to compile:
>
> informix@whitchem:~> c4gl -o neiltest.4ge neiltest.4gl
>
> DATABASE neil
> MAIN
> |
> | Attempt to connect to database server (ifx_tcp_1) failed.
> | See error number -908.
> |
> | The database "neil" cannot be found or opened. If the database
> | exists, check the database permissions on the database. In
> | addition, check the system permissions on the database directory
> | and its ascendant directories.
> | See error number -4305.
>
> Thanks
> Neil
>
>
Do you have all environment variables set:
INFORMIXDIR
INFORMIXSERVER
How does dbaccess react? Database-> select ??
Michael