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, 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 database being used, but may be obtained using the DBCHQE CLIv2-limits query.
When sending segments of a stored procedure (see Stored Procedures for details), the actual maximum may vary slightly with the version of the 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.