Using the Teradata Access Module for Named Pipes - Using the Teradata Access Module for Named Pipes with Unnamed Pipes and File Descriptor Devices 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. Program the writer process to send its output to a file descriptor device greater than 2 (stderr), such as /dev/fd/4, as in the following FastExport script example:
    .EXPORT OUTFILE /dev/fd/4;
  2. Program the reader process to read from a file descriptor device greater than 2 (stderr), such as /dev/fd/3, as in the following FastLoad script example:
    axsmod np_axsmod.so “fallback_file=...”;
define file= /dev/fd/3...;
  3. Plumb the resulting file descriptors together using a shell pipeline, such as:
    fexp <fexp.cmds 4>&1 >fexp.out | \
fastload 3<&0 <flod.cmds >flod.log

    In this example UNIX diverts the FastExport standard output to the file fexp.out and:

    • fexp.out is the name of the diverted FastExport output file
    • flod.cmds is the name of the FastLoad job script file