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
16.20
Published
September 2019
Language
English (United States)
Last Update
2019-10-12
dita:mapPath
uny1527114222311.ditamap
dita:ditavalPath
Audience_PDF_include.ditaval
dita:id
B035-2418
lifecycle
previous
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.