16.10 - ERRORS - 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 ERRORS command redirects diagnostic messages to a file that you specify or to the default file, stderr.

Syntax



TO
Specifies that Filer is to write diagnostic messages to a new file or to STDERR.
If the file specified exists, Filer returns an error.
INTO
Specifies that Filer is to append diagnostic messages to a specified file or to STDERR.
If the file already exists, Filer appends the error messages to the end of the file
If the file does not exist, Filer creates it automatically.
OVER
Specifies that Filer is to overwrite an existing file or STDERR with current diagnostic messages.
If the file already exists, Filer writes over the file
If the file does not exist, Filer creates the file.
file
The name of the destination file for diagnostic messages.
STDERR
The default file to which Filer writes diagnostic messages.
ME
A synonym for STDERR.

Usage Notes

When you start Filer, it writes diagnostic messages to STDERR by default.

You can use the ERRORS command to redirect the diagnostic messages in the following ways:

  • To write to a new file only
  • To append an existing file
  • To overwrite an existing file
  • To display on your console

If you include the file parameter in the ERRORS command, the file you specify becomes the destination for diagnostic messages redirected from STDERR.

If you type the ERRORS command without any options, Filer shows the name of the current diagnostic messages file STDERR on your system console.