16.20 - Output-TDP-request-number - Teradata Tools and Utilities

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

prodname
Teradata Tools and Utilities
vrm_release
16.20
created_date
September 2019
category
Programming Reference
featnum
B035-2417-108K

Output-TDP-request-number is a four-byte field that is the TDP identifier of the request.

In this language... The variable name for Output-TDP-request-number is...
COBOL DBCAREA-TDP-REQ-NO
PL/I TDP_REQ_NO
C, C++ tdp_req_no
IBM Assembler DBCOARQN
This routine... Does this for Output-TDP-request-number...
DBCHINI writes
DBCHCL writes (CON; RSUP; IWPF; CMD; IRQ)
Output-TDP-request-number is used by... To...
applications read.
The request number is available in Output-TDP-request-number after the application regains control from a call to DBCHCL with function code set to any of the following:
  • Connect
  • RunStartUp
  • Command
  • Initiate with Protocol-function
  • Initiate Request

DBCHCL puts Output-TDP-request-number in the DBCAREA as soon as DBCHCL is called for a request-generating function.

Output-TDP-request-number is available after the application regains control from DBCHCL, even with a connect operation.

Compare with Output-CLIv2-request-number.