How to Execute a Run File | Basic Teradata Query - 17.00 - Executing a Run 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 execute the run file, enter either form of the BTEQ RUN command:

.RUN FILE=sampfile

or

.RUN DDNAME=sampfile

Before running the file, BTEQ echoes the RUN command, followed by the BTEQ command prompt. BTEQ then executes each statement in the run file as though it was entered interactively.