The TPT documentation explains the different record formats we support. Look in the Reference Manual in Chapter 4 for the Data Connector operator (that operator is the file reader).
You will probably be interested in the "TEXT" format. For "TEXT" format, the input data must be in character format, and so the schema must be made up of all fixed length CHAR data types. If the target table on Teradata has non-CHAR columns, Teradata will do the conversion.
If you also read the manuals, you will see that the keyword OFFSET is not part of your language. Please just use the syntax we provide.
You will also need to look at our data types. We do not have "DATE". That is because Teradata stores date values internally as integers. But we can also support the ANSI style date.
So, we have ANSIDATE and INTDATE.
What you are trying to do will probably not work for Teradata date fields.


Hi all,
I have to load some data using Teradata Parallel Transporter...
I have a record like:
1234ANA MARIA 20111209
I need to load something like:
PID: 1234
NAME: ANA MARIA
DATE: 2011-11-09
I expected to do something like:
DEFINE SCHEMA T001_FIELD_DEFINITION_SCHEMA
DESCRIPTION 'SCHEMA TESTE'
(
PID OFFSET(1) LENGTH(4)
, NAME OFFSET(4) LENGTH(20)
, DATE OFFSET(20) LENGTH(28)
);
In my DATACONNECTOR PRODUCER operator I'm trying use:
VARCHAR Format='Formatted'
That's rigth?
I found nothing that describes how to do it anywhere
or I do not know how to search...
I do not really understand the attribute 'Format' in the TPT documentation...
Thanks in advance.