Output DBCpath - 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 Output DBCpath field specifies the route used to send to and from the database computer for the session. It is provided for diagnostic purposes and for logs, such as audit logs.

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

After regaining control from a call to DBCHCL for the Connect function, the application program can obtain the route used from Output DBCpath. The Output DBCpath contains the name of the set of co-COPs used for the session.

Output DBCpath 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.