16.10 - DEFINE OPERATOR Statement: Definition - Parallel Transporter

Teradata Parallel Transporter Reference

Product
Parallel Transporter
Release Number
16.10
Published
July 2017
Content Type
Programming Reference
Publication ID
B035-2436-077K
Language
English (United States)

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
     );