home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!stanford.edu!unixhub!fnnews.fnal.gov!overload.lbl.gov!zeus.ieee.org!europa.asd.contel.com!paladin.american.edu!auvm!UTMARTN.BITNET!##09
- Message-ID: <09NOV92.17190729.0015.MUSIC@UTMARTN>
- Newsgroups: bit.listserv.ibm-main
- Date: Mon, 9 Nov 1992 15:55:02 CST
- Sender: IBM Mainframe Discussion list <IBM-MAIN@RICEVM1.BITNET>
- From: Larry Holder <##09@UTMARTN.BITNET>
- Subject: Re: Forcing page boundaries in high level code
- In-Reply-To: In reply to your message of MON 09 NOV 1992 15:25:00 CST
- Lines: 23
-
- > For example, is there some way to make various groups of paragraphs to be
- > aligned at an even 2K or 4K (or whatever) page. The object here is to
- > allow portions of a COBOL program, for example to be loaded into the same
- > physical page of memory - or at least to begin at the same page. (And,
- > this should be for a potentially gigantic COBOL program.) The academic
- > reason for this is to potentially reduce paging by a large COBOL (or PL/I)
- > program because at various points it's only referencing other code which
- > is within the same Page or group of pages in memory.
-
- You might want to read about"overlays" in the COBOL Compiler & Library
- Programmer's Guide (SC28-6478). I think it addresses your question.
- Quoting from page 113: "If a program is too large to be contained
- in the number of bytes available in virtual storage, it can still be
- executed by means of an overlay structure. An overlay structure
- permits the reuse of storage locations..."
-
- Larry Holder, Sr. Programmer/Analyst Bitnet: ##09@UTMARTN
- The University of Tennessee at Martin Phone: 901-587-7890
- Martin, TN 38238 Fax: 901-587-7841
-
- Software: VM/ESA 1.0, VSE/ESA 1.1, CICS/VSE 2.1, COBOL-II, DL/I, SQL/DS
- Hardware: IBM 9221-150 with 9336 FBA dasd
- PSW: (Personal Status Words): Saved by grace (Romans 1:16 & 8:38)
-