Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Programming Guide

RENT

Read syntax diagramSkip visual syntax diagram   .-NORENT-.
>>-+-RENT---+--------------------------------------------------><
 

Your code is "naturally reentrant" if it does not alter any of its static variables.

The RENT option specifies that the compiler is to take code that is not naturally reentrant and make it reentrant. Refer to the z/OS Language Environment Programming Guide for a detailed description of reentrancy. If you use the RENT option, the Linkage Editor cannot directly process the object module that is produced: you must use either the prelinker or PDSE’s.

The NORENT option specifies that the compiler is not to specifically generate reentrant code from non-reentrant code. Any naturally reentrant code remains reentrant.

If you link a module (either MAIN or FETCHABLE) containing one or more programs compiled with the RENT option, you must specify DYNAM=DLL and REUS=RENT on the link step.

If you specify the options NORENT and LIMITS(EXTNAME(n)) (with n <= 7), then the text decks generated by the compiler will have the same format as those generated by the older PL/I compilers. This means that the prelinker would not be needed to create a PDS-style load module. If you use any other options, you must use either the prelinker or PDSE's.

The code generated under the NORENT option may not be reentrant unless the NOWRITABLE option is also specified.

The use of the NORENT does preclude the use of some features of the compiler. In particular:

You may mix RENT and NORENT code subject to the following restrictions:

Given the above restrictions, the following is still valid:


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)