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


Example

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

In this example, assume that section INT7 is in member LOANCOMP and that section INT8, which is to replace INT7, is in data set &&NEWINT. Also assume that section PRIME in member LOANCOMP is deleted.
//NEWMOD     DD     DSNAME=&&NEWINT,DISP=(OLD,DELETE)
//OLDMOD     DD     DSNAME=PROJECT.PROGLIB,DISP=SHR
//SYSLIN     DD     *
  ENTRY MAINENT
  INCLUDE NEWMOD
  REPLACE INT7(INT8),PRIME
  INCLUDE OLDMOD(LOANCOMP)
  NAME LOANCOMP(R)
/*

As a result, INT7 is removed from the input module described by the OLDMOD DD statement, and INT8 replaces INT7. All references to INT7 in the input module now refer to INT8. Any references to INT7 from other modules remain unresolved. If there are no references to PRIME in LOANCOMP, section PRIME is deleted; the section name is also deleted from the external symbol dictionary.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014