16.10 - INPUT - Teradata Database

Teradata Database Support Utilities

prodname
Teradata Database
vrm_release
16.10
created_date
June 2017
category
Configuration
featnum
B035-1180-161K

Purpose

The INPUT command directs Filer to read commands from a specified file rather than from the default input file, stdin.

Syntax



file
The name of a file you specify as the source of command input to Filer.

Usage Notes

When you first start Filer, it accepts input from the stdin file by default. Using the INPUT command, you can redirect input from any file you specify.

The input file must be located on the node that runs the control AMP. To determine which node is running the control AMP, use the STATUS command of the Vproc Manager utility. The control AMP is designated under the Logical Configuration with an asterisk.

When Filer reaches the end of the file you specify, Filer again accepts input from you.

You can nest the INPUT command inside command files to a maximum of nine files deep.

Example: Reading Filer commands from a file

The following command example shows the format for redirecting input from a file in a specific directory:

Filer ==>
input from /home/user1/commands