Re: Capturing the return value from SQL*Plus

From: Tommy Wareing <p0070621_at_brookes.ac.uk>
Date: Thu, 30 Jul 1998 10:23:24 GMT
Message-ID: <35c0495e.509727579_at_news.brookes.ac.uk>


On Thu, 30 Jul 1998 16:33:13 +0800, "P.S." <raymond.siao_at_tmsw.com> wrote:

>Try the "Exit" clause in SQL*plus.
>
>
>Jonathan Gennick wrote:
>
>> Is it possible, from a DOS script, to capture the return
>> code from SQL*Plus? Is it possible to write an IF statement
>> to act on that value?

Remember that the Bourne shell $? variable (that contains the exit status) only takes an 8 bit unsigned value...

--
Tommy Wareing
MIS Group
Learning Resources
Oxford Brookes University
01865 483389
Received on Thu Jul 30 1998 - 12:23:24 CEST

Original text of this message