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

Teradata Vantageā„¢ - SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1147-171K
Language
English (United States)

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.