By default, the Enterprise compiler will not discard unused EXTERNAL ENTRYs.
This would cause problems if the EXTRN for a discarded entry was used to force the linker to resolve other references. For example, this would cause problems if your program called the secondary entry point B inside a procedure called A, but contained a declare but no references for A itself.
Note, however, this option will cause EXTRNs to be emitted for all declared external ENTRYs. If you include a file with all the declares potentially used by your code, this can populate your text decks with a large number of EXTRNs.