Overlay Programs

Language Environment does not provide explicit support for overlay programs. If programs are overlaid, Language Environment imposes the following restrictions:
  • All Language Environment routines and static data must be placed in the root segment.
  • All named routines and static data referred to by Language Environment must be in the root segment.
  • All ENTRY values or static data addresses passed to any Language Environment service must point to routines in the root segment.
  • All routines in the save area chain must be in storage for the whole time that they are in the chain.
  • All calls must be inclusive, not exclusive (see your Linkage Editor and Loader User's Guide for the definitions of these terms).
  • Calls that cause a new overlay segment to be loaded must be between two routines in the same language (that is, they cannot be ILC calls).