Request Length - Call-Level Interface Version 2

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

Product
Call-Level Interface Version 2
Release Number
15.00
Language
English (United States)
Last Update
2018-09-28
dita:id
B035-2417
lifecycle
previous
Product Category
Teradata Tools and Utilities

Request Length

Request Length is a four byte field that is the length (in bytes) of the request string.

 

In this language...

The variable name for Request Length is...

COBOL

DBCAREA‑REQ‑LEN

PL/I

REQ_LEN

C

req_len

IBM Assembler

DBRIRQL

 

This routine...

Does this for Request Length...

DBCHINI

writes

DBCHCL

reads (IRQ; CMD; IWPF; CRQ)

 

Request Length is used by...

To...

applications

write.

 

When Request Mode is set to...

Then...

B

CLIv2 does not validate the length further

P

If the maximum parcel is set to O, the maximum value is approximately 32763.

If the maximum parcel is set to H, the maximum value is approximately 65531.

The actual maximum may vary slightly with the version of the Teradata Database being used, but may be obtained using the DBCHQE CLIv2-limits query.

When sending segments of a stored procedure (refer to Chapter 17: “Stored Procedures” for details), the actual maximum may vary slightly with the version of the Teradata Database being used; the value may be obtained using the DBCHQE CLIv2-limits query (or the deprecated Maximum‑segment‑size query).

When using the Continue‑request function, the total size of a large object may be obtained using the DBCHQE SQL‑limits query.