Output-TDP-request-number - Call-Level Interface Version 2

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

Product
Call-Level Interface Version 2
Release Number
16.10
Published
May 2017
Language
English (United States)
Last Update
2018-05-07
dita:mapPath
jen1488824663137.ditamap
dita:ditavalPath
Audience_PDF_include.ditaval
dita:id
B035-2417
lifecycle
previous
Product Category
Teradata Tools and Utilities

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.