17.10 - Using the Teradata Access Module for Named Pipes with Named Pipes on UNIX - Access Module

Teradata® Tools and Utilities Access Module Reference

Product
Access Module
Release Number
17.10
Published
October 2021
Language
English (United States)
Last Update
2021-11-02
dita:mapPath
uur1608578381725.ditamap
dita:ditavalPath
obe1474387269547.ditaval
  1. Use the UNIX mknod command with the p option to create a named pipe. In the following example, /tmp/mypipe is the name of the pipe:
    /sbin/mknod /tmp/mypipe p
  2. Program the writer process to send its output stream to the named pipe, as in the following FastExport script example:
    .EXPORT OUTFILE /tmp/mypipe;
  3. Program the reader process to read from the named pipe as in the following FastLoad script example:
    axsmod np_axsmod.so “fallback_directory=...”;
define file= /tmp/mypipe;
  4. Launch both the writer and the reader processes, as in the following example where flod.cmds is the name of the FastLoad job script file:
    fexp <fexp.cmd & fastload <flod.cmds &

    In this example, UNIX connects both processes through the named pipe /tmp/mypipe.