15.10 - Request Length - 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

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.