How to Terminate a Run File | Basic Teradata Query - 17.00 - Terminating 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

If a run file does not end with either an EXIT or a QUIT command, BTEQ completes executing the last statement, returns an informational message, and then switches back to reading from the standard input stream. When using BTEQ interactively, BTEQ’s command prompt is given. For example:

*** Encountered EOF on RUN file. Returning to stdin.
BTEQ -- Enter your SQL request or BTEQ command:
For information on I/O errors and abends, see I/O Errors and Abends.