Quote:
Originally posted by Audra
#!/bin/ksh
INFORMIXDIR=/maindir/informix; export INFORMIXDIR
INFORMIXSERVER=ifmxsvr1; export INFORMIXSERVER
ONCONFIG=onconfig.dev; export ONCONFIG
PATH=#INFORMIXDIR/bin:$PATH; export PATH
dbaccess sampledb test.sql
|
Hi Audra,
The PATH variable should be
PATH=$INFORMIXDIR/bin:$PATH; export PATH
Also include an entry for INFORMIXSQLHOSTS, this should point to your sqlhosts file
Eg.
INFORMIXSQLHOSTS=/export/home/informix/etc/sqlhosts2;
export INFORMIXSQLHOSTS;
Regards,
Lloyd