DEFINE OPERATOR Statement: Definition - Parallel Transporter

Teradata® Parallel Transporter Reference

Product
Parallel Transporter
Release Number
17.10
Published
February 2022
Language
English (United States)
Last Update
2023-11-29
dita:mapPath
abr1608578396711.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
ogv1478610452101
Product Category
Teradata Tools and Utilities

The following example shows a typical DEFINE OPERATOR statement for a standard Teradata PT operator.

The values assigned to the attributes for the DataConnector operator remain in force throughout the job script, except where they are assigned override values in the APPLY statement reference to this operator object.

DEFINE OPERATOR FILE_READER
     DESCRIPTION 'TERADATA PARALLEL TRANSPORTER DATACONNECTOR OPERATOR'
     TYPE DATACONNECTOR PRODUCER
     EXTERNAL NAME 'MyOperator'
     SCHEMA ReadFilesSchema
     ATTRIBUTES
     (
       VARCHAR OutputLogFileName,
       VARCHAR FileName,
               Format          = 'Delimited',
       VARCHAR OpenMode        = 'Read',
       VARCHAR FileName,
       VARCHAR IndicatorMode   = 'Y',
               RowsPerInstance = 10000
     );