How to Specify a Standard Input File in BTEQ| Basic Teradata Query - 17.00 - Specifying a Standard Output File - Basic Teradata Query

Basic Teradata® Query Reference

prodname
Basic Teradata Query
vrm_release
17.00
created_date
June 2020
category
Programming Reference
featnum
B035-2414-220K

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.