Run-pointer - Teradata Tools and Utilities

Teradata® Call-Level Interface Version 2 Reference for Mainframe-Attached Systems - 20.00

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Lake
Product
Teradata Tools and Utilities
Release Number
20.00
Publication Date
October 2023
Content Type
Programming Reference
Publication ID
B035-2417-103K
ft:locale
en-US
ft:lastEdition
2025-11-21
dita:mapPath
apo1695647516691.ditamap
dita:ditavalPath
obe1474387269547.ditaval
ft:sourceId
dita
dita:id
vfj1470443597526
Product Category
Teradata Tools and Utilities

Run-pointer is a four-byte field that specifies a particular set of services to be used by the session.

In this language... The variable name for Run-pointer is...
COBOL DBCAREA-RUN-PTR
PL/I RUN_PTR
C, C++ run_ptr
IBM Assembler DBCNIRSP
This routine... Does this for Run-pointer...
DBCHINI writes
DBCHCL reads (CON)
Run-pointer is used by... To...
applications write

If Run-pointer is zero, DBCHCL uses DBC/SQL as the default value.

The application may specify the value of Run-pointer.

To do so, the program must build a run string or a Connect parcel body, and set Run-pointer one of the following addresses:

  • the run string for the Run parcel
  • the connect parcel body before calling DBCHCL for the Connect function

DBC/SQL is an allowed value. Run string is not case-sensitive.

If Varying-length-request is... Then Run-pointer is the address of the...
N beginning of the run string.
Y two-byte length field that precedes the run string.