Language Environment runtime considerations

Enterprise COBOL programs use the Language Environment® STACK storage in several cases where IBM® COBOL used HEAP storage. These cases include intrinsic functions UPPER-CASE and LOWER-CASE. Recompiling with Enterprise COBOL may result in a significant STACK storage usage difference. If the STACK is allocated below the 16-MB line and a large DSA (Dynamic Save Area) is needed, an insufficient storage error might occur.

To see the amount of storage that is required, compile your program with the compiler options MAP and LIST. Look for FuncResultTemp under the listing line: ***** AUTOMATIC MAP******

You may need to reduce the amount of storage required or change to STACK=(...ANYWHERE..) to use storage above the line.