You can use the following command in shell script to create named pipes
mknod tran_data.out p
Let us say, if you want to export data in named pipes, embed bteq in the same shell script
. . . . .export indicdata file = tran_data.out
SELECT * FROM trans;
Same time, you want to read the named pipes and import it to another table, use above created named pipes as follows (in another shell script) . . . . . .import indicdata file = tran_data.out
Make sure both the scripts are running concurrently or if you want to run export and import in a same script, you may need to use functions to run export process in background (&) and import process in foreground.