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

The following example shows how the AUTOCALL statement is invoked to immediately resolve references made available during a recent INCLUDE.
//OBJMOD     DD     DSNAME=PROJECT.TAXES,DISP=(OLD,DELETE),...
//LOADMOD    DD     DSNAME=PROJECT.LOADLIB,DISP=OLD,...
//SYSLIB     DD     DSNAME=PROJECT.MAIN.LOADLIB,DISP=OLD,...
//SYSLIN     DD     *
  INCLUDE  OBJMOD
  AUTOCALL LOADMOD
⋮
/*

In the example, OBJMOD is included first, followed by an autocall request that uses the LOADMOD module library to resolve references. At this point, no attempt is made to resolve references using SYSLIB, and unresolved references are not diagnosed. The binder waits until all input has been specified to do a final autocall. At that time, it attempts to resolve any outstanding references by searching SYSLIB. After final autocall, if any references remain unresolved, the binder states them in its messages.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014