Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 23 Oct 2007 @ 22:03:01 GMT


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


Subj:   Re: 2 infiles in Multiload
 
From:   Joseph D silva

As often mentioned in this forum and elsewhere, if you are doing this from unix, you can always do some tricks using named pipes...

     #create a named pipe (FIFO)

     mkfifo -m 600 /tmp/myloadfifo

     #cat all the files and re-direct it to the fifo, do it in background.

     cat /data1/file1 /data2/file2 > /tmp/myloadfifo &

     # store the pid of this background process
     cpid=$!

     # the usual mload greek, give the fifo name instead of file name

     mload <

 
 
 
 


     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023