Hmm
I executed your script and it run without problem. It mean no error in script. Okay lets see if your path #/usr/bin/ksh is correct or not as I'm on Linux rignt now my path is #/bin/ksh Try to add
Before typecase command in script to debug script. I hope myfile is in same directory where script is located.
__________________
Rocky Jr.
You may have my body & soul, but you will never touch my pride!
If you have knowledge, let others light their candles at it.
Certified to work on
HP-UX /
Sun Solaris /
RedHat