Table of Contents

Search

  1. Preface
  2. Introduction
  3. Defining a System
  4. Flattening IDTs
  5. Link Tables
  6. Loading a System
  7. Static Clustering
  8. Simple Search
  9. Search Performance
  10. Miscellaneous Issues
  11. Limitations
  12. Error Messages

Flat File Input from a Named Pipe

Flat File Input from a Named Pipe

The IIR Table Loader can read input data from a named pipe. Relate cannot read Win32 pipes at this stage.

UNIX Platforms

On UNIX platforms the IIR input processor can read input from a Named Pipe. This means that it is possible to read data from another database without the need to create large intermediate files.
The concept is identical on all UNIX platforms, although the command used to create a named pipe may vary between implementations. The following example in applicable to LINUX.
mkfifo $SSAWORKDIR/inpipe
To use the pipe, specify its name as the Physical-File parameter in the Logical-File-Definition of the input file:
logical-file-definition *====================== NAME= lf-input PHYSICAL-FILE= "+/inpipe" COMMENT= "named pipe for the loader" VIEW= DATAIN INPUT-FORMAT= TEXT AUTO-ID-NAME= Job1

Windows Platforms

To use a named pipe on Windows environments, you need to specify the name of the pipe in the Microsoft format:
\\server\pipe\pipe_name
where
  • server
    is the server name or dot (.) for the current machine
  • pipe
    the word "pipe"
  • pipe_name
    the pathname of the named pipe file
To use the pipe, specify its name as the
Physical-File
parameter in the Logical-File-Definition of the input file:
logical-file-definition *====================== NAME= lf-input COMMENT= "input file" PHYSICAL-FILE= "\\.\pipe\pipe_name" VIEW= DATAIN FORMAT= TEXT AUTO-ID-NAME= JobN
logical-file-definition *====================== NAME= lf-input COMMENT= "input file" PHYSICAL-FILE= "\\.\pipe\pipe_name" VIEW= DATAIN FORMAT= TEXT AUTO-ID-NAME= JobN

0 COMMENTS

We’d like to hear from you!