context Command | Command-line Debugging for UDFs | Teradata Vantage - context - Analytics Database - Teradata Vantage

SQL External Routine Programming

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2023-07-11
dita:mapPath
iiv1628111441820.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
B035-1147
lifecycle
latest
Product Category
Teradata Vantageā„¢

This command specifies the threads on which subsequent commands to the debugger will operate.

Syntax

context all
context thread-selector [...]

Syntax Elements

thread-selector
Specifies a string that selects one or more UDF threads being debugged.

Usage Notes

You can specify one or more specific threads, or all threads to include all currently active threads. When the context contains multiple threads, commands operate on all of them serially. The output for each thread contains a line that identifies the thread followed by a line of command-related information. After a breakpoint or other exception stops a thread, the context defaults to that thread making it the current context.

You can use @ as a synonym for the context command. If context is used, it must be fully spelled out.