z/OS MVS Program Management: User's Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Control section positioning

z/OS MVS Program Management: User's Guide and Reference
SA23-1393-00

After each OVERLAY statement, the control sections for that segment must be specified. The control sections for a segment can be specified in one of three ways:
  1. By placing the object decks for each segment after the appropriate OVERLAY statement
  2. By using INCLUDE control statements for the modules containing the control sections for the segment
  3. By using INSERT control statements to reposition a control section from its position in the input stream to a particular segment.

Any control sections that precede the first OVERLAY statement are placed in the root segment; they can be repositioned with an INSERT statement. Control sections from the automatic call library are also placed in the root segment. The INSERT statement can be used to place these control sections in another specific segment. Common areas in an overlay program are described in Special considerations.

An example of each of the three methods of positioning control sections follows. Each example results in the structure for the single-region sample program. An example is also given of repositioning control sections from the automatic call library.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014