There are three termination commands available to log off and exit BTEQ:
|LOGOFF||Ends the current database user sessions without exiting BTEQ.|
|EXIT or QUIT||Ends any current database user sessions and exits BTEQ.|
Enter the LOGOFF, EXIT, or QUIT commands at a terminal or workstation only in response to the BTEQ command prompt. Any previous command or request must be completed. To interrupt or abort BTEQ before the previous command or request completes, use the Break key as described in Discarding Input and Abort Requests.