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 -> Re: batch & svrmgr parameters

Re: batch & svrmgr parameters

From: Oren Nakdimon <oren_nakdimon_at_yahoo.com.nospam>
Date: Thu, 25 Apr 2002 20:07:16 +0300
Message-ID: <3cc837c8@news.mhogaming.com>


Celine.
The parameters you want to pass - are they only for the connect string as in your example?
If it is so, you can use the following syntax (assuming you want to execute the script x.sql):
svrmgrl "connect system/%1" < x.sql

Oren.

"Epicentre Team B Annecy" <carmanet_at_epicentre.fr> wrote in message news:aa8u5d$rum$1_at_wanadoo.fr...
> Hello,
>
> I would like to know if it's possible to pass parameters in a batch file
to
> svrmgr(l).
> For example, I have the batch script1.bat:
> call script2.bat manager test
> ten in the script2.bat:
> sqlplus system/%1@%2
>
> So, is there a way to do the same thing with svrmgrl, instead of sqlpus in
> script2.bat?
> (Windows 2000, Oracle 8.1.7)
>
> Thanks in advance.
>
> Best regards,
>
> Celine.
> --
> Celine Armanet
> EPICENTRE
> carmanet_at_epicentre.fr
> Tel. : +33 04 50 09 7000
>
>
Received on Thu Apr 25 2002 - 12:07:16 CDT

Original text of this message

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