17.10 - Input Session Id - Call-Level Interface Version 2

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

Product
Call-Level Interface Version 2
Release Number
17.10
Release Date
October 2021
Content Type
Programming Reference
Publication ID
B035-2418-061K
Language
English (United States)

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.