Input Session Id - 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
Language
English (United States)
Last Update
2024-05-14
dita:mapPath
bmn1691484839905.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
fvz1470444150352
Product Category
Teradata Tools and Utilities

Usage Notes

The Input Session Id field specifies the session to be acted on by DBCHCL.

Language Variable Name
COBOL: DBCAREA-I-SESS-ID
C: DBCAREA.H: i_sess_id
Routine Action Taken
DBCHINI: writes
DBCHCL: reads (RSUP; IRQ; FET; REW; ERQ; ABT; DSC)
Used by Action Taken
application program writes

The application program copies the value from Output Session Id into Input Session Id.

If the application program uses the same DBCAREA to run sessions concurrently, it should save Output Session Id from each session’s logon. The application program must store the appropriate value of Output Session Id in Input Session Id whenever it intends the next DBCHCL call to affect a different session.

Connects only take place by calls to DBCHCL for the Connect function.