Opps, I ment SQLPlus not SQL*Net.

maybe you should use SQL*Net anyway and always use @MYDB in the connect string.