Copyright © TIBCO Software Inc. All rights reserved
Copyright © TIBCO Software Inc. All rights reserved


Chapter 3 Configuring the Adapter : Overview

Overview
This section describes the structure of the configuration files, configuration element syntax, and the supported files and data types.
Configuration File Structure
The FilePublisher and FileSubscriber components of TIBCO Adapter for Files (IBM i) have separate configuration files.
FilePublisher
The FilePublisher configuration file consists of the sections shown in the following figure.
Figure 10 Sections of a FilePublisher Configuration File
The Trace, Options, and Pre-Register sections contain global configuration values, and there can be one or more FileType sections.
FileSubscriber
The FileSubscriber configuration file consists of the sections shown in the following figure.
Figure 11 Sections of a FileSubscriber Configuration File
The Trace and Options sections contain global configuration values, and there can be one or more FileType sections.
Configuration Syntax
Each section of the FilePublisher or FileSubscriber configuration files contain the following organizing entities:
Each section consists of elements, and elements consist of parameters surrounded by curly brackets. Each parameter has either a value or consists of tags, surrounded by curly brackets.
For example, the FILE_OPTIONS element from the FileType section shown below consists of parameters with values, separated by commas:
 
FILE_OPTIONS = {   filePrefix="ft1",
                   useFilePolling="true",
                   pollInterval="5000",
                   datasetType=”SEQ”,
                   ...
               }
 
The FILE_LINE element shown below consists of multiple field parameters that have as their value a set of tags with values (separated by commas).
 
FILE_LINE = {
   field = { description = "Part Number", fromMessage="true",
         length = ”6”,type="STRING", value="PartNo", length = ”11”,
         position=”0”},
 
   field = { description = "Description", fromMessage="true",
         type="STRING", value="Desc", length = ”15”,          position=”11” },
     ..........}
Sample Configuration and Data Files
The adapter includes both sample configuration files and sample data sets for your use. You have several choices when configuring the adapter.
Sample Configuration Files
The adapter requires two configuration files to operate: one for FilePublisher and one for FileSubscriber. The sample configuration files and data files in the list that follows are supplied along with the adapter software for your reference. They show the usage of many of the features provided by the adapter software.
Publisher
Subscriber
Sample Data Files
The following sample data files are included for testing the adapter.
 

Copyright © TIBCO Software Inc. All rights reserved
Copyright © TIBCO Software Inc. All rights reserved