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: