Input Record Format - Parallel Transporter

Teradata® Parallel Transporter Reference - 20.00

Deployment
VantageCloud
VantageCore
Edition
IntelliFlex
Lake
Enterprise
VMware
Product
Parallel Transporter
Release Number
20.00
Published
October 2023
ft:locale
en-US
ft:lastEdition
2023-12-06
dita:mapPath
mjn1691132485167.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
ogv1478610452101
lifecycle
latest
Product Category
Teradata Tools and Utilities

The internal format of each input record intended for use with the MultiLoad INMOD Adapter operator must conform to the specified schema.

The MultiLoad INMOD Adapter operator requires each field to be of a specified length. When no length is specified, the operator assumes the conventional default length.

The MultiLoad INMOD Adapter operator supports both fixed- and variable-length input records.

For records with a two-column schema such as:

(
  COL1 INTEGER,
  COL2 VARCHAR(10));
each record comprises:
  • A four-byte integer, because 4 is the INTEGER length,
  • A two-byte length indicator for the VARCHAR field, and
  • The CHAR data of the length indicated in the two-byte length indicator field.
The following examples show the byte order when running Teradata PT on an Intel processor:
  • If, for example, the integer has a decimal value of 100 and the VARCHAR is ASCII '12345', then the input record appears in hexadecimal notation as:
    X'64 00 00 00 05 00 31 32 33 34 35'
  • If the data in the input record is in indicator mode, a single precedes the indicator byte:
    X'00 64 00 00 00 05 00 31 32 33 34 35'