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

Teradata® Tools and Utilities Access Module Reference - 20.00

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Access Module
Release Number
20.00
Published
October 2023
ft:locale
en-US
ft:lastEdition
2024-05-14
dita:mapPath
cya1691484517272.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
hjf1479308836950
lifecycle
latest
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.