15.10 - Workload-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

Workload‑length is a four-byte field: when the Variable‑length‑request option is “N” it contains the number of bytes addressed by the Workload‑pointer field; when the Variable‑length‑request option is 'Y', Workload‑length is ignored.

Use of Workload requires a Connect‑type setting of “C”.

Workload‑length exists only when DBCHINI had been called for a DBCAREA with Total‑length set to at least 640 (that is, the returned DBCAREA Level value is at least 1). For a smaller DBCAREA, Workload‑length is ignored.

 

In this language...

The variable name for Workload‑length is...

COBOL

WORKLOAD‑LEN

PL/I

WORKLOAD_LEN

C

workloadLen

IBM Assembler

DBCNIWLL

 

This routine...

Does this for Workload‑length. . .

DBCHINI

writes

DBCHCL

reads (RCON)

 

Workload‑length is used by...

To...

applications

write

The value must be positive. The sum of this length and the length used for Session‑desc‑pointer must be less than or equal to one of the following values:

 

The maximum value is approximately. . .

If Maximum Parcel is set to...

32,725

O

64,493

H

2,147,483,602

H, and the Teradata Database supports ExtendedRespond, as indicated by the DBCHQE Extended‑response‑support query.

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.