IBM OS Linkage Editor and Loader GC28-6538
IBM OS Linkage Editor and Loader GC28-6538
IBM OS Linkage Editor and Loader GC28-6538
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
APPENDIX G: STORAGE CONSIDERATIONS<br />
The loader requires main storage space for the following items:<br />
• <strong>Loader</strong> code.<br />
• Data management access methods.<br />
• Buffers <strong>and</strong> tables used by the loader (dynamic storage).<br />
• Loaded program (dynamic storage).<br />
Region size includes all four of the above items; the SIZE option<br />
refers to the last two items.<br />
For the SIZE option, the minimum required main storage is 4K plus the<br />
size of the loaded program. This minimum requirement grows to<br />
accommodate the extra table entries needed by the program being loaded.<br />
For example: FORTRAN requires at least 3K plus the size of the loaded<br />
program, <strong>and</strong> PL/I needs at least 8K plus the size of the loaded program.<br />
Buffer number (BUFNO) <strong>and</strong> block size (BLKSIZE) could also increase this<br />
minimum size. Table 18 shows the appropriate storage requirements in<br />
bytes.<br />
The maximum main storage that can be used is whatever main storage is<br />
available up to 8192K.<br />
Allor part of the main storage required is obtained from user<br />
storage. If the access methods are made resident at IPL time, they are<br />
allocated in system storage. However, 6K is always reserved for system<br />
use.<br />
In an MVT environment the loader code could also be made resident in<br />
the link pack area. If so, it requires the following space: IEWLDRGO,<br />
the control/interface module (alias LOADER), approximately 400 bytes;<br />
IEWLOADR, the loader processing portion, approximately 13,250 bytes.<br />
The size of the loaded program is the same as if the program had been<br />
processed by the linkage editor <strong>and</strong> program fetch.<br />
The loader does not use auxiliary storage space for work areas.<br />
Appendix G: Storage Considerations 221