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

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

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 Variable 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.