LLA
Enterprise COBOL programs (V5 and later releases) linking with CSECTs that have the RMODE 24 attribute may be excluded from management by Library Lookaside (LLA).
Considerations when using the LLA facility
- Enterprise COBOL program that is compiled with the RMODE(24) or NORENT compiler options.
- VS COBOL II program that is compiled with the NORENT compiler option.
- Assembler program that contains CSECT with RMODE 24.
By default, the RMODE attribute of an Enterprise COBOL V5 (or later) program is RMODE ANY. When such program is linked with any of the above, the binder will place RMODE 24 CSECTS in one segment, and the Enterprise COBOL V5 code in a second segment. There is also a third segment for the C-WSA class (new starting in COBOL V5). Program objects with more than two segments cannot be used with the Library Lookaside (LLA) facility. This issue can be avoided by specifying the RMODE(24) compiler option explicitly for the Enterprise COBOL V5 program, and specifying the DYNAM=NO binder option (default for the binder). This would make the RMODE attributes consistent within the program object. Alternatively, you can also change the compilation of the COBOL programs in the above list by not using the RMODE(24) and NORENT options, and not having RMODE 24 CSECTs in assemble programs.