15.10 - Output TDP Path - Call-Level Interface Version 2

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

prodname
Call-Level Interface Version 2
vrm_release
15.10
category
Programming Reference
featnum
B035-2417-035K

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

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.