Information
Limited support BMC provides limited support for this version of the product. As a result, BMC no longer accepts comments in this space. If you encounter problems with the product version or the space, contact BMC Support.BMC recommends upgrading to the latest version of the product. To see documentation for that version, see UNLOAD PLUS for DB2 13.1.

TERADATA-BULK option


TERADATA-BULK generates the control statements necessary to create a Teradata table and load a large amount of data into it using the Teradata Bulk Data Load utility.

The CREATE DDL statements (DBC/SQL) and the Bulk Data Load statements must be processed separately.

When the TERADATA-BULK option is specified, UNLOAD PLUS creates control statements similar to those in the following example for use with the Bulk Data Load utility:

       CREATE TABLE tableName
 ( <colName1>        <colType(length)> NOT NULL
 , <colName2>          <colType(length)>
 );


LOGON 0/USERID,PASSWORD;
*
DEFINE
 <colName1>           (<colType(length)>)
 ,  <colName2>           (<colType(length)>)
DDNAME = <ddname>;
*

INDICATORS OFF;
*

 INSERT INTO <tableName> VALUES
 ( :<colName1>
 , :<colName2>
 );

LOGOFF;

When the unload has completed, edit the data set containing the control statements just produced, extract and modify the CREATE TABLE DDL, then use this DDL to define the table to Teradata.

When the table to be loaded is defined to Teradata, modify the LOGON statement as required by your installation, and use these statements as input to the Bulk Data Load utility.

When UNLOAD PLUS creates DDL for tables with more than 50 columns, ALTER statements are generated for columns 51 and higher. In cases where the Teradata limit of 256 columns is reached, all statements are generated and a warning message is issued.

Due to Teradata restrictions, when more than 50 columns are to be loaded, you must modify the control statements to process multiple utility executions.


TERADATA_BULK.png

 

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

UNLOAD PLUS for DB2 11.2