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.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-24
dita:mapPath
qwr1571437338192.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1147
lifecycle
previous
Product Category
Teradata Vantage™

Purpose

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

Syntax

context all
context thread-selectors [...]

Where syntax element thread-selectors 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.