Specifying an Export File - Basic Teradata Query - 16.20

Basic Teradata Query Reference

prodname
Basic Teradata Query
vrm_release
16.20
category
Programming Reference
featnum
B035-2414-108K

An export file is an output file that is used primarily for storing data read from a Teradata Database in response to an SQL request.

The following table explains how to specify an export file:

System Type Export File
Mainframe-attached Use a z/OS DD statement to define an export file, then execute a BTEQ EXPORT command to open the file before entering an SQL request.

If an export file name is not defined, the default file name for the exported data is FILE ddname.

SYSPRINT is not a valid ddname for the BTEQ EXPORT command. Data cannot be exported to the SYSPRINT file.
Workstation-attached Export files do not have to be defined, but the EXPORT command must be used to open an export file before submitting an SQL request.