17.10 - Input Request 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 Request Id field specifies the request to be acted on by DBCHCL.

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

The application program copies the value that was placed by the Connect, Run Startup, or Initiate Request function in Output Request Id into Input Request Id.

If the application program uses the same DBCAREA for more than one concurrent request or more than one session, it should save the Output Request Id from each request’s submission. The application program must store the appropriate value of Output Request Id in Input Request Id whenever it intends the next DBCHCL call to affect a different request.