??? run unix script on NT

2001-05-09 Thread Leslie Lu

Hi,

Does anybody know some tool/utility that can run Unix
kshell script on NT?  

Thanks!

Leslie

__
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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).



Re: ??? run unix script on NT

2001-05-09 Thread Rodd Holman

Yes,
UWIN from http://www.research.att.com/sw/tools/uwin/ works wonders.

 Original Message 

On 5/9/01, 3:03:22 PM, Leslie Lu [EMAIL PROTECTED] wrote regarding 
??? run unix script on NT:


 Hi,

 Does anybody know some tool/utility that can run Unix
 kshell script on NT?

 Thanks!

 Leslie

 __
 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: [EMAIL PROTECTED]

 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: [EMAIL PROTECTED] (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).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Rodd Holman
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).



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

2001-05-09 Thread Leslie Lu


--- Leslie Lu [EMAIL PROTECTED] 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???
 
 Thanks a lot!
 
 __
 Do You Yahoo!?
 Yahoo! Auctions - buy the things you want at great
 prices
 http://auctions.yahoo.com/
 


__
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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).



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

2001-05-09 Thread Jacques Kilchoer
Title: RE: never mind -- Re: ??? Again: run unix script on NT





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:[EMAIL PROTECTED]]
 
 --- Leslie Lu [EMAIL PROTECTED] 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???






??? Again: run unix script on NT

2001-05-09 Thread Leslie Lu

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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).



RE: ??? Again: run unix script on NT

2001-05-09 Thread Rajesh Dayal

Give full path of sqlplus executable. eg.

BAD_LOGIN=`d:/orant/sqlplus -s ${SQLUSER}/${PW}@${DB} 

HTH,
Rajesh

-Original Message-
Sent: Thursday, May 10, 2001 2:36 AM
To: Multiple recipients of list ORACLE-L


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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Rajesh Dayal
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).