Using the CEEENTRY and CEETERM macros
To improve the performance of non-LE-conforming Assembler calling COBOL, you can make the Assembler program LE-conforming. This can be done using the CEEENTRY and CEETERM macros provided with LE.
This helps to reduce the GETMAIN and FREEMAIN activity. The Language Environment® storage tuning user exit is one way that you can manage the task of selecting the best values for your environment. The storage tuning user exit allows you to set storage values for your main programs without having to linkedit the values into your load modules.
Performance
considerations using the CEEENTRY and CEETERM macros (measuring CALL
overhead only):
- One testcase (an LE-conforming Assembler calling COBOL) using
the CEEENTRY and CEETERM macros was 99% faster than not using them.Note: This test measured only the overhead of the CALL (i.e., the subprogram did only a GOBACK); thus, a full application that does more work in the subprograms may have different results.
See also First program not LE-conforming for additional performance considerations comparing using CEEENTRY and CEETERM with other environment initialization techniques.
Related references
CEEENTRY macro (z/OS® Language Environment Programming Guide)
CEETERM macro (z/OS Language Environment Programming Guide)
CEEENTRY macro (z/OS® Language Environment Programming Guide)
CEETERM macro (z/OS Language Environment Programming Guide)