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

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

??? Again: run unix script on NT

From: Leslie Lu <leslie_y_lu_at_yahoo.com>
Date: Wed, 09 May 2001 17:20:12 -0700
Message-ID: <F001.002FE856.20010509143603@fatcity.com>

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???

Thanks a lot!



Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Leslie Lu
  INET: leslie_y_lu_at_yahoo.com
Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Wed May 09 2001 - 19:20:12 CDT

Original text of this message

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