15.10 - TDP Request Number - Call-Level Interface Version 2

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

prodname
Call-Level Interface Version 2
vrm_release
15.10
category
Programming Reference
featnum
B035-2417-035K

TDP Request Number is a four byte field that is the TDP identifier of the request.

 

In this language...

The variable name for TDP Request Number is...

COBOL

DBCAREA‑TDP‑REQ‑NO

PL/I

TDP_REQ_NO

C

tdp_req_no

IBM Assembler

DBCOARQN

 

This routine...

Does this for TDP Request Number...

DBCHINI

writes

DBCHCL

writes (CON; RSUP; IWPF; CMD; IRQ)

 

TDP Request Number is used by...

To...

applications

read.

The request id is available in 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 TDP Request Number in the DBCAREA as soon as DBCHCL is called for a request‑generating function.

    TDP Request Number is available after the application regains control from DBCHCL, even with a connect operation.

    Compare with “Output CLIv2 Request Id” on page 130.