Output-TDP-session-number - Teradata Tools and Utilities

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

Product
Teradata Tools and Utilities
Release Number
17.10
Published
June 2021
Language
English (United States)
Last Update
2021-07-01
dita:mapPath
zwv1608578409227.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
B035-2417
Product Category
Teradata Tools and Utilities

Output-TDP-session-number is a four byte field that is the actual, not logical, identifier assigned to the session by TDP.

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

In this language... The variable name for Output-TDP-session-number is...
COBOL DBCAREA-O-DBC-SESS-ID
PL/I O_DBC_SESS_ID
C, C++ o_dbc_sess_id
IBM Assembler DBCOSISN
This routine... Does this for Output-TDP-session-number...
DBCHINI writes
DBCHCL writes (FET) associated with connect operation
Output-TDP-session-number is used by... To...
applications read

Output-TDP-session-number is available in the DBCAREA after the application regains control from a call to DBCHCL for the first Fetch function associated with the connect.

Compare with Output-CLIv2-connection-number.