15.10 - Request Pointer - 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 Pointer is a four byte field that specifies the address of the request string.

 

In this language...

The variable name for Request Pointer is...

COBOL

DBCAREA‑REQ‑PTR

PL/I

REQ_PTR

C

req_ptr

IBM Assembler

DBRIRQP

 

This routine...

Does this for Request Pointer...

DBCHINI

writes

DBCHCL

reads (IRQ; IWPF; CMD; CRQ)

 

Request Pointer is used by...

To...

applications

write

Before calling DBCHCL for the Initiate Request function, the application must build a request string, such as a Teradata SQL request.

 

If Variable Length Request is set to...

Then Request Pointer must contain the address of...

N

the beginning of the request string.

Y

the two‑byte length field immediately preceding the request string (see “Variable Length Request” on page 197).

The request string should not be enclosed in apostrophes.

If there is more than one statement in the request, a semicolon must separate the statements. A semicolon after the last statement in the request is optional.