Hi Dick, Yeah I get that. But still sqlplus exits with a 0 return code after showing the usage message, so that the failure goes unnoticed, its been that way for ever (I think) and I do not think that may be considered expected behaviour, sigh. Regards Pete On Wed, Feb 23, 2011 at 12:03 PM, Goulet, Richard <Richard.Goulet@xxxxxxxxxxx> wrote: > Pete, > > I can just hear the programmers at Oracle howling in protest > "That's expected behavior". And having written a fair number of C and > KSH scripts that handle command line parameters I can understand. It's > far easier, and less error prone, to remove code than to put in handlers > when you obsolete something. Just cut it out & let the default error > handler take it. I will agree though that it's less customer friendly. > > > Dick Goulet > Senior Oracle DBA/NA Team Leader > -- //www.freelists.org/webpage/oracle-l