Token - Call-Level Interface Version 2

Teradata® Call-Level Interface Version 2 Reference for Workstation-Attached Systems - 20.00

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Call-Level Interface Version 2
Release Number
20.00
Published
January 2024
ft:locale
en-US
ft:lastEdition
2024-11-15
dita:mapPath
bmn1691484839905.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
fvz1470444150352
lifecycle
latest
Product Category
Teradata Tools and Utilities

Usage Notes

The Token field is used to specify a user-defined identifier for the request.

Language Variable Name
COBOL: DBCAREA-TOKEN
C: DBCAREA.H: token
Routine Action Taken
DBCHINI: writes
DBCHCL: reads (CON; RSUP; IRQ)
DBCHWAT: uses
Used by Action Taken
application program writes

Token is maintained for each request and is returned by DBCHWAT when a pending request has completed its transfer.

At the application programmer’s discretion, it may be used in whatever way is useful. It is primarily used by application programs running concurrent requests or sessions. It is most often used to index into or point to some application-program-maintained request context, so that an actual request id and session id can be retrieved for later calls to fetch, rewind, abort, or end request.