Specifying a Standard Output File

Basic Teradata Query Reference

brand
Teradata Tools and Utilities
prodname
Basic Teradata Query
vrm_release
16.20
category
Programming Reference
featnum
B035-2414-108K

To specify an output file (for stdout) do one of the following:

System Type Specification
Mainframe-attached
 Use either the BTEQ TDSBTEQ JCL procedure or a DD statement in a standard JCL file to specify the output file as the SYSPRINT file before invoking BTEQ.
Workstation-attached Use the > or >> character to specify an output file when BTEQ is invoked.