Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 01 Dec 2005 @ 10:26:05 GMT


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


Subj:   Re: How to leave an intentional lock for testing
 
From:   McCall, Glenn David

In reference to my previous post of running the mloads with an inmod to delay the mload processing.

If you were running on Unix, you could create a named pipe in the file system (mknod p named_pipe_name) and have the mload point load data from the named pipe. If you don't have anything at the other end, the mload should wait indefinitely (consuming one of the utility slots).

When you want to shut it down, simply send an end of file to the named pipe from another shell (eg. cat /dev/null > named_pipe_name). If you are on windows (including cygwin) this might not work so elegantly.

I didn't try this recently, but it should work and save you any 'c' coding.


Good Luck with it

Glenn Mc



     
  <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