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
16.10
Published
July 2017
Language
English (United States)
Last Update
2019-03-27
dita:mapPath
amk1499705096540.ditamap
dita:ditavalPath
amk1499705096540.ditaval
dita:id
B035-2425
lifecycle
previous
Product Category
Teradata Tools and Utilities
  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.