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
15.00
Language
English (United States)
Last Update
2018-09-25
dita:id
B035-2418
lifecycle
previous
Product Category
Teradata Tools and Utilities

Input Session Id

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.