The minimum size an array can be for it to be generated as a separate structure. Each array with an OCCURS clause set to
a size equal to or larger than the minimum set here is generated as a separate structure for dynamic allocation. While you
can manually enter any numeric value from
0 (zero) to
32767 inclusive, you can also select from the following options on the drop-down list:
- No separate structures (0)
- All variable arrays are generated inline within the main structure.
- All arrays, including optional fields (1)
- All variable arrays are generated as separate structures for dynamic allocation.
- All arrays, excluding optional fields (2)
- All variable arrays, except those that occur at most once, are generated as separate structures for dynamic allocation. Arrays
that occur at most once are generated into the main structure.
- Only unbounded arrays (32767)
- Only unbounded arrays are generated as separate structures for dynamic allocation.
Note: For complete information about how
Visual COBOL generates COBOL variable-length array structures for Web services from WSDL and JSON, see
Handling Variable Arrays in WSDL and JSON.