Natural or constructed reentrancy

Reentrant programs can be categorized as having natural or constructed reentrancy. Programs that contain no references to writable static objects have natural reentrancy. Programs that refer to writable static objects must be processed with the IBM® Language Environment® Prelinker to make them reentrant; such programs have constructed reentrancy.

If you are using C, you do not need to use the RENT compiler option if your program is naturally reentrant.

Because all C++ programs are categorized as having constructed reentrancy, C++ code must be bound by the binder using the DYNAM(DLL) option. Alternatively, the C++ code must be processed by the prelinker before being processed by the linkage editor.