How to submit a BTEQ script in Batch mode in Teradata

Consider a BTEQ script contains the following code in it.
.logon, pass; /* Login credentials */
 sel top 10 * from dbc.tables; /* Query */

Way 1:
You can submit the bteq script in batch mode by .RUN FILE command.
.RUN FILE will execute the commands provided in the file by forward only fashion.
.RUN FILE = BTEQfile.btq

Way 2:
You can directly submit the script in the bteq prompt like below.
Way 1 is being used generally in shell scripts since it is a procedural way.
Way 2 is used to see the immediate execution of the file supplied.
Bteq < BTEQfile.btq