Home Page for the TeradataForum
 
 

 

Archives of the TeradataForum





Message Posted: Thu, 02 Dec 2004 @ 17:56:41 GMT





     
  <Prev Next>   <<First <Prev Next> Last>>  




Subj:   Re: Running multiple teradata scripts
 
From:   Anomy Anom



<-- Anonymously Posted: Thursday, December 02, 2004 12:27 -->

We run our bteq scripts from a main shell, and use an & for those scripts that can run at the same time, and then we use a "wait" to pause before the next bteq script starts:

     
     bteq < /whatever/script1 > /whatever/script1.out 2>&1 &
     bteq < /whatever/script2 > /whatever/script2.out 2>&1 &
     wait
     bteq < /whatever/script3 > /whatever/script3.out 2>&1 &
     

Of course, you might want to add some error code checking if you need the previous script to run successfully before the next one starts.


Anomy





     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
 
  Top Home Join Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky 
Last Modified: 30 Jun 2008