Example 1: SIGTERM Handling | Basic Teradata Query - 17.00 - Example 1 – SIGTERM Handling - 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

SIGTERM issued when BTEQ is idle (such as not waiting on CLI for some SQL response):

BTEQ -- Enter your SQL request or BTEQ command:
SELECT date;

SELECT date;

*** Query completed. One row found. One column returned.
*** Total elapsed time was 1 second.

Date
--------
13/05/06

BTEQ -- Enter your SQL request or BTEQ command:

<<< SIGTERM trapped here >>>
*** Exiting BTEQ...
*** RC (return code) = 16