http://www.perlmonks.org?node_id=727796


in reply to streaming a .ctl file into sqlldr with perl

Looks like a continuation of your using stdin with sqlldr post. cmdrake pointed out that you should be able to use mkfifo/mknod to create a named pipe to load the data. Did this work for you?

Jason L. Froebe

Blog, Tech Blog

  • Comment on Re: streaming a .ctl file into sqlldr with perl

Replies are listed 'Best First'.
Re^2: streaming a .ctl file into sqlldr with perl
by chuckd (Scribe) on Dec 08, 2008 at 20:20 UTC
    Hi, I didn't need to create a named pipe. The above code worked for me. I started sqlldr as a file handle and wrote to it like a file. The only addition that was made was a pipe in front of the sqlldr process call in the open function. So yes I guess it does open a pipe, just not the way I thought it would.