How to know if a sqldba command failed ?
From: Philippe Chaleat <chaleat_at_cc.in2p3.fr>
Date: 1995/07/04
Message-ID: <3tbvp4$ek8_at_ccpnws.in2p3.fr>#1/1
Date: 1995/07/04
Message-ID: <3tbvp4$ek8_at_ccpnws.in2p3.fr>#1/1
Hello,
How could now if a sqldba command failed. For instance, in csh:
sqldba lmode=y << EOF connect toto/toto EOF SQL*DBA: Release 7.1.4.1.0 - Production on Tue Jul 4 19:58:53 1995 Copyright (c) Oracle Corporation 1979, 1994. All rights reserved. Oracle7 Server Release 7.1.4.1.0 - Production Release PL/SQL Release 2.1.4.0.0 - Production SQLDBA> ORA-01034: ORACLE not available ORA-07429: smsgsg: shmget() failed to get segment. IBM AIX RISC System/6000 Error: 2: No such file or directory SQLDBA> SQL*DBA complete. echo $status 0
I was expected something different (1 for example...)
Thanks for any advice... Received on Tue Jul 04 1995 - 00:00:00 CEST