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

Home -> Community -> Mailing Lists -> Oracle-L -> shell scripting help

shell scripting help

From: d cheng <dc4oracle_at_yahoo.com>
Date: Wed, 3 Aug 2005 14:48:45 -0700 (PDT)
Message-ID: <20050803214846.16513.qmail@web34010.mail.mud.yahoo.com>


Hi Listers,  

I have a korn shell script which needs to run 3 sqlplus scripts in parallel then run the final sqlplus script. Is there a way to ensure that sqlplus scripts 1 thru 3 completes before running the final sqlplus script? I am a newbie in shell scripting.  

<< shell script snippet >>
...

sqlplus un/pw @script1.sql &
sqlplus un/pw @script2.sql &
sqlplus un/pw @script3.sql &

...

sqlplus un/pw @final.sql
...

exit  

Thank you in advance for your help!  


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
--
http://www.freelists.org/webpage/oracle-l
Received on Wed Aug 03 2005 - 16:50:47 CDT

Original text of this message

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