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

Basic Teradata® Query Reference - 20.00

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Basic Teradata Query
Release Number
20.00
Published
October 2023
ft:locale
en-US
ft:lastEdition
2024-11-15
dita:mapPath
gxl1691484661681.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
psp1479308573013
lifecycle
latest
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