SMP/E for z/OS Commands
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Example 8: JCLIN for SIDEDECKLIB subentries

SMP/E for z/OS Commands
SA23-2275-01

DD statements in link-edit steps are processed during JCLIN processing to obtain the system library and CALLLIBS libraries for a load module. In addition, the SYSDEFSD DD statement will be processed to obtain the SIDEDECKLIB subentry for a load module. The SIDEDECKLIB subentry identifies the library used to contain a definition side deck of IMPORT control statements. The IMPORT control statements are created by the link edit utility when the load module is link-edited. If the library identifies a partitioned data set (PDS or PDSE), the definition side deck created is a member in that data set. If the library identifies a directory in a UNIX file system, the definition side deck created is a file in that directory.

The following is an example JCLIN link-edit step to define load modules using a definition side deck library:
//LINK1    EXEC PGM=IEWBLINK,PARM='CALL,DYNAM(DLL)'
//SYSLMOD  DD DSN=GOS.LOADLIB,DISP=SHR
//SYSLIB   DD DSN=SYS1.SCEELOAD,DISP=SHR
//SYSDEFSD DD DSN=GOS.SGOSSD,DISP=SHR
//SYSLIN   DD *
  INCLUDE AGOSDLIB(GOSMOD1)
  NAME GOSLMOD1
  INCLUDE AGOSDLIB(GOSMOD2)
  NAME GOSLMOD2
/*
Note: The SYSDEFSD DD statement may be specified as SMPDUMMY, allowing it to be allocated as a DUMMY data set.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014