Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> NOWAIT exit from sqlplus when ORA-12545

NOWAIT exit from sqlplus when ORA-12545

From: mso <marguerite.sochacki_at_c-s.fr>
Date: 18 Aug 2006 06:32:15 -0700
Message-ID: <1155907934.887739.130690@i3g2000cwc.googlegroups.com>


Hi
(it's for: Windows NT/XP and Oracle 8.1.7.4)

--
J have a problem when J run test.bat such as :
   sqlplus infolig/edfinfo_at_POR1_SPARE @my_file.sql
   if %errorlevel% NEQ 0 echo KO: %ERRORLEVEL% else echo OK
%ERRORLEVEL%
--
When my POR1_SPARE server is not accessible/not connected the test.bat
is waiting with ORA-12545.
--------------------------------------------------------------------------------------------------------------------------------

D:\IL\BD_IL5\EvoPrisme\Upgrade>sqlplus infolig/edfinfo_at_POR1_SPARE
@my_file.sql

SQL*Plus: Release 8.1.7.0.0 - Production on Ve Aou 18 15:16:31 2006


(c) Copyright 2000 Oracle Corporation. All rights reserved.
ERROR: ORA-12545: Connexion impossible car l'h¶te ou l'objet cible n'existe pas Entrez le nom utilisateur : -------------------------------------------------------------------------------------------------------------------------------- Would it be possible to avoid it and exit the sqlplus immediately (is it any SqlNet parameter) ? Thanks a lot mso
Received on Fri Aug 18 2006 - 08:32:15 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US