Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 14 Apr 2005 @ 13:44:01 GMT


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


Subj:   Re: Connecting to a Fastload Named Pipe from non-TD program
 
From:   Geoffrey Rommel

  Has anyone been able to connect to a named pipe, opened by a FastLoad, in order to infuse data from a non-Teradata program?  


I've done similar things. Be sure to start the reader before the writer. Assuming that you are starting a child process, the pseudocode would look something like this:

     fork
      in child process: sleep for 2-5 seconds; write to the pipe; close the pipe; exit
      in parent process: read from the pipe until end of data
     [back to parent here]
     wait for child to end using wait() or waitpid()
     close the pipe

Does this help?



     
  <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