Found out that whenever oserror does the trick. Thanks all! On 6 December 2010 15:53, Stefan Knecht <knecht.stefan@xxxxxxxxx> wrote: > See > > > http://database.asia/documentation/oracle/database/11.2/server.112/e10823/ch_twelve026.htm#i2676105 > > > <http://database.asia/documentation/oracle/database/11.2/server.112/e10823/ch_twelve026.htm#i2676105>Apparently > it's supported on "some platforms" :) > > Stefan > > > ========================= > > Stefan P Knecht > CEO & Founder > s@xxxxxxxx > > 10046 Consulting GmbH > Schwarzackerstrasse 29 > CH-8304 Wallisellen > Switzerland > > Phone +41-(0)8400-10046 > Cell +41 (0) 79 571 36 27 > info@xxxxxxxx > http://www.10046.ch > > ========================= > > > > On Mon, Dec 6, 2010 at 4:39 PM, Howard Latham <howard.latham@xxxxxxxxx>wrote: > >> Oracle 11g >> Linux Redhat EH 5 >> >> If you do a host command from SQLPLUS can you pickup a return code from >> it? Alternatively how to abort returning to sqlplus command? This is a >> failsafe check to prevent accidental switchover. >> >> >> -- >> Howard A. Latham >> >> Sent from my Nokia N97 >> >> > -- Howard A. Latham Sent from my Nokia N97