segmentedMode
This variable is used only if you are in VisualAge® Generator compatibility mode; for more information, see VisualAge Generator compatibility. Use the converseVar.segmentedMode system variable in a main Text UI program to change the effect of the converse statement. The variable is ignored in called programs. For background information, see Segmentation in Text UI programs and UI programs.
Values of converseVar.segmentedMode are
as follows:
- 1
- The next converse statement runs in segmented mode.
- 0
- The next converse statement runs in non-segmented mode.
The default value is 0 for non-segmented programs and 1 for segmented programs. The variable is reset to the default after the converse statement runs.
You can use this variable in any of these ways:
- As the source or target in an assignment or move statement
- As the count value in a move...for count statement
- As a comparison value in a logical expression
- As the value in a return statement
Characteristics of converseVar.segmentedMode are
as follows:
- Primitive type
- NUM
- Data length
- 1
- Is value restored after a converse?
- No
Compatibility
| Platform | Issue |
|---|---|
| IMS/VS | The value of converseVar.segmentedMode is ignored in IMS/VS. All programs must be segmented. |