|
|
Archives of the TeradataForum
Message Posted: Tue, 23 Oct 2007 @ 22:03:01 GMT
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 <
| |