Can oninit be run from a shell?
Posted in 1997
Is there anyway a "normal - non priveledged" user can run oninit from
a shell script? I've tested the following script
----------------------------------------------------------------------------
#!/bin/sh
################################################################
# Set-up the Informix environment
#################################################################
## Set the location of Informix Programs
INFORMIXDIR=/u/informixexport INFORMIXDIR
## Add the Informix Programs to your PATH
PATH=$INFORMIXDIR/bin:$PATH:export PATH
## Set the Default Database Server
INFORMIXSERVER=upper_air_onexport INFORMIXSERVER
## Set the Informix Configuration File
ONCONFIG=onconfig.UAexport ONCONFIG
oninit
----------------------------------------------------------------------------
BUT, I get the following error message:
"Must be a DBSA to run this program"
Any suggestions???????
Thanks in advance,
Eddie