16.20 - Output-TDP-path - Teradata Tools and Utilities

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

prodname
Teradata Tools and Utilities
vrm_release
16.20
created_date
September 2019
category
Programming Reference
featnum
B035-2417-108K

Output-TDP-path is an eight byte field that specifies the route used to send session data to and from the Teradata Database.

It is provided for diagnostic purposes, audit logs, and so forth.

In this language... The variable name for Output-TDP-path is...
COBOL DBCAREA-O-DBCPATH
PL/I O_DBCPATH
C, C++ o_dbcpath
IBM Assembler DBCOSID
This routine... Does this for Output-TDP-path...
DBCHINI writes
DBCHCL writes (FET) associated with connect operation
Output-TDP-path is used by... To...
applications read

After regaining control from a call to DBCHCL for the Connect function, the application can obtain the route used from Output-TDP-path.

Output-TDP-path contains the name of the TDP used for the session, the TDP-assigned session number, and your Teradata Database’s host id.

Output-TDP-path is available in the DBCAREA when the application regains control, with return code zero, from calling DBCHCL for the first Fetch function that is associated with the connect operation.