Output-CLIv2-request-number - Teradata Tools and Utilities

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

Product
Teradata Tools and Utilities
Release Number
16.20
Published
September 2019
Language
English (United States)
Last Update
2019-10-12
dita:mapPath
dsu1527114222346.ditamap
dita:ditavalPath
dsu1527114222346.ditaval
dita:id
B035-2417
lifecycle
previous
Product Category
Teradata Tools and Utilities

Output-CLIv2-request-number is a four-byte field that is the CLIv2 logical identifier for a given request on Teradata Database.

In this language... The variable name for Output-CLIv2-request-number is...
COBOL DBCAREA-O-REQ-ID
PL/I O_REQ_ID
C, C++ o_req_id
IBM Assembler DBCOREQN
This routine... Does this for Output-CLIv2-request-number...
DBCHINI writes
DBCHCL writes (CON; RSUP; IRQ; IWPF; CMD)
Output-CLIv2-request-number is used by... To...
applications read

When the application regains control from a call to DBCHCL for any of the following functions, the logical request is available in the DBCAREA in Output-CLIv2-request-number.

  • Connect
  • RunStartUp
  • Command
  • Initiate with Protocol-function
  • Initiate Request

Before using the DBCAREA again to call DBCHCL for an operation related to that request, the application must copy the value to Input-CLIv2-request-number.

Compare with Output-TDP-request-number.

Note that CLIv2 and the TDP have a number for each request and that the numbers are not identical.