Example 1 – SIGTERM Handling

Basic Teradata Query Reference

brand
Teradata Tools and Utilities
prodname
Basic Teradata Query
vrm_release
16.20
category
Programming Reference
featnum
B035-2414-108K

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