25.09.2015 Views

Teradata Parallel Data Pump

Teradata Parallel Data Pump Reference - Teradata Developer ...

Teradata Parallel Data Pump Reference - Teradata Developer ...

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 3: <strong>Teradata</strong> T<strong>Pump</strong> Commands<br />

IMPORT<br />

Syntax Element<br />

FORMAT<br />

Description<br />

Record format of the input file<br />

The format can be:<br />

FASTLOAD—A 2-byte integer, n, followed by n bytes of data and an end-ofrecord<br />

marker (either X'0A' or X'0D').<br />

BINARY—A 2-byte integer, n, followed by n bytes of data.<br />

TEXT—An arbitrary number of bytes, followed by an end-of-record marker<br />

which is a:<br />

• Line feed (X'0A') on UNIX platforms.<br />

• Carriage-return and line-feed pair (X'0D0A') on Windows platforms.<br />

TEXT format should only be specified for character data. Do not specify<br />

TEXT format for binary data, such as, PERIOD data.<br />

UNFORMAT—defined by FIELD, FILLER, and TABLE commands of the<br />

specified layout.<br />

Note: When using UNFORMAT formatting in z/OS, ensure that the data<br />

stream and data source are consistent with the layout defined in the utility<br />

script. Discrepancies in the length of the data stream could result in data<br />

corruption.<br />

VARTEXT—in variable-length text record format, with each field separated<br />

by a delimiter. Rules for a delimiter are:<br />

• No control characters other than a TAB character can be used as a<br />

delimiter.<br />

• Any character that appears in the data cannot be used as a delimiter.<br />

• Delimiters can only be up to 10 single-characters long.<br />

If a FORMAT option is not specified, the default is FASTLOAD.<br />

Note: On the mainframe platform, when access module is not used, the<br />

default is the input data read record by record and the LAYOUT is applied to<br />

each read record.<br />

<strong>Teradata</strong> <strong>Parallel</strong> <strong>Data</strong> <strong>Pump</strong> Reference 151

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!