checkIndices

The checkIndices build descriptor option specifies whether to include the following checks in generated COBOL programs:
  • Check array and substring indexes to ensure they are in the range that is valid for the variable. If not, EGL throws an IndexOutOfBoundsException.
  • Check dynamic array variables to ensure they have been initialized. If not, EGL throws a NullValueException.

Setting this option to not support these checks might result in smaller programs with better performance.

Values

YES (the default value)
Specifies that the generated EGL COBOL program should include checks for index range and null values in array variables.
NO
Specifies that index range and null value checking is not included in the generated program. If you specify NO, you must be sure not to use any indexes outside the defined range for the array, and take care that you initialize dynamic arrays before using them. If you fail to do so, the results are unpredictable.