15.10 - CLIv2-limits - 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

CLIv2‑limits might be used either to choose CLIv2 settings to optimize its execution for the accessed Teradata Database or to prevent errors caused by exceeding limits.

Refers to the Teradata Database associated with the TDP whose TDP identifier is addressed by the QEPTIDP field and has length specified by the QEPTLEN field. Since they do not apply, the QEPRQST and QEPTOKEN fields must contain binary zeroes.

Returns limits for the Teradata Database affecting an application's values for CLIv2 settings. The response consists of four fields totalling thirty‑two bytes.

 

Item Code

Mnemonic

ResponseDBQERC2L (DbqerC2L for C)

Fields

Value

35

QEPIC2L

QERC2LQL ('requestLen' for C, REQUESTLEN for COBOL, REQUEST_LEN for
PL/I)

An eight-byte unsigned integer that specifies the maximum Request‑length in bytes.

In C compilers not supporting 64bit integers, an array named 'requestLenHalf' consisting of two four-byte unsigned integers, each containing four bytes of the value, is used.

 

 

QERC2LGL ('segmentLen' for C, SEGMENTLEN for COBOL, SEGMENT_LEN for PL/I)

An eight-byte unsigned integer that specifies the maximum segment Requestlength in bytes for SQL Stored Procedures (refer to Chapter 17: “Stored Procedures”).

In C compilers not supporting 64bit integers, an array named 'segmentLenHalf' consisting of two four-byte unsigned integers, each containing four bytes of the value, is used.

 

 

QERC2LUL ('usingLen' for C, USINGLEN for COBOL, USING_LEN for PL/I)

An eight-byte unsigned integer that specifies the maximum Usingdatalen in bytes.

In C compilers not supporting 64bit integers, an array named 'usingLenHalf' consisting of two four-byte unsigned integers, each containing four bytes of the value, is used.

 

 

QERC2LSL ('responseLen' for C, RESPONSELEN for COBOL, RESPONSE_LEN for PL/I)

An eight-byte unsigned integer that specifies the maximum Responselen in bytes.

In C compilers not supporting 64bit integers, an array named 'responseLenHalf' consisting of two four-byte unsigned integers, each containing four bytes of the value, is used.