Create a Target Table | Teradata Parallel Transporter Quick Start Guide - Create a Target Table - Parallel Transporter

Teradata® Parallel Transporter Quick Start Guide - 20.00

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Parallel Transporter
Release Number
20.00
Published
October 2023
Language
English (United States)
Last Update
2023-11-20
dita:mapPath
msi1691132563218.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
zyr1479309207403
Product Category
Teradata Tools and Utilities
The following is the job script you will be running:
DEFINE JOB qsetup1
(
  APPLY
     ('DROP TABLE TARGET_EMP_TABLE;')
    ,('DROP TABLE TARGET_EMP_TABLE_LOG;')
    ,('DROP TABLE TARGET_EMP_TABLE_E1;')
    ,('DROP TABLE TARGET_EMP_TABLE_E2;')
    ,('CREATE TABLE TARGET_EMP_TABLE(EMP_ID VARCHAR(10), EMP_NAME VARCHAR(10));')
  TO OPERATOR ($DDL);
);

The script is saved as qsetup1.txt in the quickstart sample directory.

  1. To run the job script, execute the following Teradata PT command in the command window:
    tbuild -f qsetup1.txt -v jobvars1.txt -j qsetup1

    where the following is true:

    -f
    The name of the script to be run: qsetup1.txt.
    -v
    The name of the job variables file: jobvars1.txt.
    This is the job variables file you have edited.
    -j
    The name of the job: qsetup1.
Once you have run the tbuild command creating the target table, you will see output on the console confirming that the table has been created. The console output may contain a DBS 3807 warning. You can ignore this message. For more information, see the ErrorList operator attribute in the DDL Operator section of the Teradata® Parallel Transporter Reference, B035-2436.