Re: Really annoying change to 11.2 sqlplus
From: Peter Hitchman <pjhoraclel_at_gmail.com>
Date: Thu, 24 Feb 2011 09:30:48 +0000
Message-ID: <AANLkTimePZhCebyBkAKi80bmvhgp2P+MkxaPBp6gfv30_at_mail.gmail.com>
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.
Date: Thu, 24 Feb 2011 09:30:48 +0000
Message-ID: <AANLkTimePZhCebyBkAKi80bmvhgp2P+MkxaPBp6gfv30_at_mail.gmail.com>
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_at_parexel.com> 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
>
-- http://www.freelists.org/webpage/oracle-lReceived on Thu Feb 24 2011 - 03:30:48 CST