15.00 - Examples - Redirection of Inputs and Outputs - Parallel Data Pump

Teradata Parallel Data Pump Reference

prodname
Parallel Data Pump
vrm_release
15.00
category
Programming Reference
featnum
B035-3021-034K

Examples Redirection of Inputs and Outputs

The following examples show various ways to redirect stdin and stdout for the UNIX system.

Example  

This example specifies both an input file and an output file. The Teradata TPump script is in
/home/tpuser/tests/test1 and the job output is written to /home/tpuser/tests/out1.

tpump </home/tpuser/tests/test1 >/home/tpuser/tests/out1

Example  

This example specifies only an input file. The Teradata TPump script is in /home/tpuser/tests/test1 and the job output is written to stdout, which ordinarily would be the terminal.

tpump </home/tpuser/tests/test1

Example  

This example specifies only an output file. Enter the TPump script via stdin, normally at the terminal. When input is complete, type ControlD to indicate end‑of‑file. Type ControlD by simultaneously pressing the Control key and the letter D. The job output is written to /home/tpuser/tests/out1.

tpump >/home/tpuser/tests/out1

Example  

This example specifies neither an input nor an output file. Teradata TPump commands are typed at a terminal via stdin and job output is written to the terminal via stdout.

tpump