SIGTERM Handling | Basic Teradata Query - SIGTERM Handling - Basic Teradata Query

Basic Teradata® Query Reference

Product
Basic Teradata Query
Release Number
17.00
Published
December 2020
Language
English (United States)
Last Update
2020-12-12
dita:mapPath
zqt1544831938740.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
B035-2414
lifecycle
previous
Product Category
Teradata Tools and Utilities

UNIX/Linux BTEQ processes can be killed by issuing a kill command from another process. In order to give BTEQ the ability to gracefully exit and set a non-0 return code for its own process, the kill must send a trappable SIGTERM signal rather than a non-trappable SIGKILL signal. Either of the following variations of the kill command (where "PID" is replaced with the actual process id for the instance of bteq) will cause a trappable SIGTERM to be sent:

kill PID
kill -15 PID