Hi Folks.
I feel so stupid asking this and there is an easy solution to my little conundrum anyway. But I've been away for too long and some things have just faded from my memory. So here it is:
Of course when I specify in my ENV:
export ONCONFIG=onconfig.schmoe
then when I try to connect to (or initialize) my server it looks in $INFORMIXDIR/etc for that file. I have a memory from 2008 that the bank where I was working had set ONCONFIG=<Some other directory>/ONCONFIG.schmoe
I was trying to configure my environment similarly:
export ONCONFIG=/ifmx/onconfig.schmoe
but oninit -t tells me:
unable to open /ifmx/ids.14.10.FC10/etc//ifmx/onconfig.schmoe
That is: Looking under $INFORMIXDIR although I had specified a complete path.
Obviously the solution is to just put that into $INFORMIXDIR/etc, set ONCONFIG= just the unembellished name of the file and toe the line like a nice little DBA.
My memory aside: Is there a way to do it in a path independent of INFORMIXDIR?
Why in blazes does he even want to do this? Glad you ased that question! ;-)
The aforementioned bank had many different releases of Informix on one box. As I recall it, all the ONCONFIG files were consolidated in one directory so I could upgrade one instance and not have to chase down its ONCONFIG file to copy into the INFORMIXDIR/etc of the upgraded server.
------------------------------
Jacob Salomon
---
Nobody goes there anymore, it's too crowded. --Attr: Yogi Berra
------------------------------