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


Binder JCL example

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

Figure 1 contains an example of some JCL statements to invoke the binder. You can tailor these statements for your own programming requirements. These statements are similar to the linkage editor JCL statements. In fact, we constructed the example by modifying a set of JCL statements originally used to invoke the linkage editor.

If you need assistance with any of the statements or options, the EXEC statement parameter options are described in Binder options reference and the input control statements are described in Binder control statement reference. The EXEC and DD statements are described in the remainder of this topic.
Figure 1. Binder JCL example
//LKED     EXEC PGM=IEWL,PARM='XREF,LIST',    IEWL is alias of IEWBLINK
//             REGION=2M,COND=(5,LT,prior-step)
//*
//*        Define secondary input
//*
//SYSLIB   DD  DSN=language.library,DISP=SHR           optional
//PRIVLIB  DD  DSN=private.include.library,DISP=SHR    optional
//SYSUT1   DD  UNIT=SYSDA,SPACE=(CYL,(1,1))            ignored
//*
//*        Define output module library
//*
//SYSLMOD  DD  DSN=program.library,DISP=SHR            required
//SYSPRINT DD  SYSOUT=*                                required
//SYSTERM  DD  SYSOUT=*                                optional
//*
//*        Define primary input
//*
//SYSLIN   DD  DSN=&&OBJECT,DISP=(MOD,PASS)            required
//         DD  *                           In-stream control statements
  INCLUDE  PRIVLIB(membername)
  ENTRY    entname
  NAME     modname(R)
/*

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014