To link edit the DL/I application program with the language application program with the language interface/ interface, the JCL for z/OS and for z/VSE is provided below:
IDMSDLLI (LINK EDIT) (z/OS)
//LINK EXEC PGM=HEWL //SYSPRINT DD SYSOUT=A //IDMSLIB DD DSN=idms.loadlib,DISP=SHR //SYSLIB DD DSN=user.loadlib,DISP=SHR //SYSUT1 DD UNIT=SYSDA,SPACE=(trk,(20,5)) //SYSLMOD DD DSN=user.loadlib,DISP=SHR //SYSLIN DD * INCLUDE IDMSLIB(IDMSDLLI) INCLUDE SYSLIB(userpgm) ENTRY DLITCBL (or appropriate entry point name) NAME userpgm(R) /* //
|
idms.loadlib |
data set name of the IDMS object library |
|
trk,(20,5) |
space to be allocated in bytes per track |
|
user.loadlib |
data set name of the load library that is to contain the resulting linked user application program |
|
userpgm |
name of the DL/I application program to be link edited to IDMSDLLI |
IDMSDLLI (LINK EDIT) (z/VSE)
//JOB //LIBDEF *,SEARCH=(idms.library, user.library) //LIBDEF *,CATALOG=user.library //OPTION CATAL PHASE userpgm,* INCLUDE IDMSDLLI INCLUDE userpgm} ENTRY userpgm } Assembler programs //EXEC LNKEDT /* CLOSE SYSIPT,SYSRDR /*
|
idms.library |
data set name of the CA IDMS DLI Transparency |
|
user.library |
data set name of the library containing the DL/I application program object |
|
user.library |
name of the library that is to contain the resulting linked user's application program |
|
userpgm |
name of the DL/I application program in the user's object library |
COBOL and PL/I Programs
COBOL and PL/I programs should add an INCLUDE statement and replace the ENTRY statement, as follows:
INCLUDE IDMSDLBC ENTRY CBLCALLA
INCLUDE IDMSDLBP ENTRY PLICALLB
|
Copyright © 2013 CA.
All rights reserved.
|
|