Yeah it's a great movie...one of my favorites.
Vincini: "He didn't fall! Inconceivable!"
Inigo: "There's that word agen..You kee sayin tha word. I dunna think it means wat you think it means."
I love that line hehehe...

Anyway...
Maybe I shouldn't put it in rc3.d I don't think it belongs to any other rc directory though. I want it to be the last script to run. I've given it the name S95oracle.
here's a snippet of the set command it doesn't like:
#!/usr/bin/ksh
set -A part `cat pfile`
set -A user user1 user2 user3
set -A ouser ouser1 ouser2 ouser3
IPATH=/export/home/user/i/
HOSTNAME=`uname -n`
set -A pipe ONE TWO THREE
function usage
{
code...
}
function stop
{
code...
}
function start
{
code...
}
case $1 in
stop) stop ;;
start) start ;;
*) usage ;;
exit
****************************
Obviously i removed whole bunch of things but essentialy that's what it is. Also i've tested this script running it manually and it works (stop and start parameters).