Language Environment® option changes

There have been a number of changes to runtime options for Enterprise COBOL Version 5 and Version 6 programs.

The following options have different behavior for programs compiled with Enterprise COBOL Version 5 or Version 6.

Table 1. Runtime option changes with Enterprise COBOL Version 5 and Version 6
Option Comments
HEAP
  • With COBOL V5, in some cases under non-CICS® (such as batch, TSO, or IMS), WORKING-STORAGE space (for programs compiled with RENT) is not acquired from HEAP and therefore the HEAP (and STORAGE) option has no effect on it.

    WORKING-STORAGE under non-CICS is not acquired from HEAP when the COBOL V5 program is statically linked to a C, C++ or PL/I program and the main entry point of the program object is not COBOL V5.

  • With COBOL V6 and later, WORKING-STORAGE space (for programs compiled with RENT) is acquired from HEAP. Therefore, the HEAP (and STORAGE) option does have an effect on it.
CHECK(OFF) CHECK(OFF) does not disable runtime subscript range checking for COBOL V5 or V6 programs compiled with SSRANGE.
STORAGE

In a few special cases with COBOL V5, STORAGE initial values for HEAP no longer affect WORKING-STORAGE initial values. For details about the cases, see the discussion of the HEAP option above.