Output DBC Session Id - 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
Language
English (United States)
Last Update
2024-05-14
dita:mapPath
bmn1691484839905.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
fvz1470444150352
Product Category
Teradata Tools and Utilities

Usage Notes

The Output DBC Session Id field is the actual, not logical, identifier assigned to the session by the database. It is provided for diagnostic purposes, audit logs, and so on.

Language Variable Name
COBOL: DBCAREA-O-DBC-SESS-ID
C: DBCAREA.H o_dbc_sess_id
Routine Action Taken
DBCHINI: writes
DBCHCL: writes (FET associated with connect operation)
Used by Action Taken
application program reads

Output DBC Session Id is available in the DBCAREA when the application program regains control (with return code zero) from calling DBCHCL for the first Fetch function that is associated with the connect operation.

Compare with Output Session Id.