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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: never mind -- Re: ??? Again: run unix script on NT

RE: never mind -- Re: ??? Again: run unix script on NT

From: Jacques Kilchoer <Jacques.Kilchoer_at_quest.com>
Date: Wed, 09 May 2001 15:19:55 -0700
Message-ID: <F001.002FE930.20010509152026@fatcity.com>

Look in ORACLE_HOME\bin for the correct name of the SQL*Plus executable. Be sure to use the line command version (the one WITHOUT a W at the end of the file name.) Depending on the version of Oracle, it could be SQLPLUS, or PLUS80, or something else. Also does uwin know to use your path to find files, or do you need to "cd" to the right directory?

> -----Original Message-----
> From: Leslie Lu [mailto:leslie_y_lu_at_yahoo.com]
>
> --- Leslie Lu <leslie_y_lu_at_yahoo.com> wrote:
> > Thank you for all those who answered my question.
> >
> > I just installed uwin.  I'm running a script
> > upgrade_db.ksh.  In the script, there is someting
> > like:
> >
> > function check_login {
> >  
> > ####################################################
> >    # Login to the database using the variables
> > provided
> >  
> > ####################################################
> >    BAD_LOGIN=`sqlplus -s ${SQLUSER}/${PW}@${DB}
> > <<-EOF
> > | grep ERROR
> >         exit
> >         EOF
> > `
> > .................
> > }
> >
> > I run this in uwin window, and got this:
> > upgrade_db.ksh[285]: check_login: line 7: sqlplus:
> > not
> > found 
> >
> > I need to run sqlplus inside the script and uwin
> > doesn't recognize this.  (I do have Oracle server
> > installed on NT).  Any idea???
Received on Wed May 09 2001 - 17:19:55 CDT

Original text of this message

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