context Command | Command-line Debugging for UDFs | Teradata Vantage - context - Advanced SQL Engine - Teradata Database

SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
rin1593638965306.ditamap
dita:ditavalPath
rin1593638965306.ditaval
dita:id
B035-1147
lifecycle
previous
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.