Output TDP Session Id - Call-Level Interface Version 2

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

Product
Call-Level Interface Version 2
Release Number
15.10
Language
English (United States)
Last Update
2018-10-07
dita:id
B035-2417
lifecycle
previous
Product Category
Teradata Tools and Utilities

Output TDP Session Id 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 Id is...

COBOL

DBCAREA‑O‑DBC‑SESS‑ID

PL/I

O_DBC_SESS_ID

C

o_dbc_sess_id

IBM Assembler

DBCOSISN

 

This routine...

Does this for Output TDP Session Id...

DBCHINI

writes

DBCHCL

writes (FET) associated with connect operation

 

Output TDP Session Id is used by...

To...

applications

read

Output TDP Session Id 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 Id” on page 129.