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


Using INCLUDE statements

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

The primary input data set for this example contains a series of control statements. The INCLUDE statements in the primary input data set direct the binder to library members that contain the control sections of the program.
//LKED        EXEC  PGM=IEWBLINK,PARM='OVLY'
              .
              .
              .
//MODLIB      DD    DSNAME=USER.OBJLIB,DISP=OLD
//SYSLIN      DD    *
  ENTRY BEGIN
  INCLUDE MODLIB(CSA,CSB)
  OVERLAY ONE
  INCLUDE MODLIB(CSC)
  OVERLAY TWO
  INCLUDE MODLIB(CSD,CSE)
  OVERLAY TWO
  INCLUDE MODLIB(CSF)
  OVERLAY ONE
  INCLUDE MODLIB(CSG)

In this example, the control sections of the program are not part of the primary input data set, but are represented in the primary input by the INCLUDE statements. When an INCLUDE statement is processed, the appropriate control section is retrieved from the library and processed.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014