Segment Data - Call-Level Interface Version 2

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

Product
Call-Level Interface Version 2
Release Number
15.10
Language
English (United States)
Last Update
2018-10-07
dita:id
B035-2418
lifecycle
previous
Product Category
Teradata Tools and Utilities

Segment Data

Usage Notes

Segment Data specifies the processing to be performed when statements of a stored procedure are being segmented into multiple requests. The value indicates whether the request is for the first, intermediate, or last segment, or if processing is cancelled.

 

Language

Variable Name

COBOL:

DBRISEG

PL/I

DBRISEG

Assembler

DBRISEG

C

dbriSeg

 

Routine

Action Taken

DBCHINI:

writes

DBCHCL:

reads for (IRQ; IWPF)

 

Used by

Action Taken

application program

writes

DBCHINI initializes the value 'N'.

When segmenting data is appropriate for the application, you should perform the following procedure before calling DBCHCL for the Initiate Request or Initiate With Protocol Function functions (although with the latter the Initiate Protocol-function must be 'N'):

1 Set Change Options to Y.

2 Change the value for Segment Data as follows:

 

If desired segment action is to be...

Then change Segment Data to...

no segmenting

N

first segment

F

intermediate segment

I

last (or only) segment

L

cancel segmenting

C

If Segment Data is other than 'N', then the following options must be used:

  • Keep Response option must also be 'N'
  • Request Mode option must be 'P'
  • Request Processing option must be 'E'
  • Initiate Protocol-function option must be 'N' (if the Initiate with Protocol Function function is used).