Run Length - Call-Level Interface Version 2

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

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Call-Level Interface Version 2
Release Number
20.00
Published
January 2024
ft:locale
en-US
ft:lastEdition
2024-11-15
dita:mapPath
bmn1691484839905.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
fvz1470444150352
lifecycle
latest
Product Category
Teradata Tools and Utilities

Usage Notes

For existing applications that set the Connect Type to R, if Run Pointer field is not zero, the application program, before calling DBCHCL for the Connect function, must set the value of Run Length to the length of the run string whose address is in Run Pointer.

Language Variable Name
COBOL: DBCAREA-RUN-LEN
C: DBCAREA.H: run_len
Routine Action Taken
DBCHINI: writes
DBCHCL: reads (CON)
Used by Action Taken
application program writes
If the connect-type is set to C, a logon parcel will be built based on the value set in Run Length.
  • If the value is 16 or less, the LSN and Function fields in the connect parcel are set to zero and run string in the connect parcel is left justified (in 16 bytes) and spaced-filled to the right.
  • If the value is 17 to 24, what the Run Pointer points to is moved into a connect parcel, left justified and zero-filled to the right.