Hi,
When you use whenever, you'll have the opportunity to continue the execution
of your script or exiting with a code error at the first one. Hence, you
must be sure whether you want to exit or continue with the transaction. And
in the first case, you will send a message error only through shell script.
Regards.
> -----Mensaje original-----
> De: Eriovaldo do Carmo Andrietta [SMTP:[EMAIL PROTECTED]]
> Enviado el: martes 27 de febrero de 2001 12:01
> Para: Multiple recipients of list ORACLE-L
> Asunto: Whenever - SQL PLUS
>
> Hi Friends :
>
> Does anyone use command whenever in sql plus.
> I have cron working with sqlplus ( as sqlplus < file.txt) then
> when occurs some errors or not it return messages, because i am setting
> serveroutput on.
>
> Well, I would like to control it. and giving message only when
> unsucessfull
> situation ...
>
> Regards.
>
> Eriovaldo do Carmo Andrietta
> ICQ #102604225
>
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Eriovaldo do Carmo Andrietta
> INET: [EMAIL PROTECTED]
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Trassens, Christian
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).