CEEWL — Link a Language Environment conforming non XPLINK program
The CEEWL cataloged procedure shown in Figure 1 includes the LKED step that invokes the binder (symbolic name HEWL) to link edit an object module.
The following DD statement, indicating the location of the object
module, must be supplied in the input stream:
//LKED.SYSIN DD * (or appropriate parameters)
The data set SCEELKED must be included in your link-edit SYSLIB concatenation. This is the name of the Language Environment link-edit library. (The high-level qualifier of this link-edit library might have been changed at your installation.)
Figure 1. Cataloged
procedure CEEWL, which link-edits a program written in any Language Environment-conforming
HLL
//CEEWL PROC LIBPRFX='CEE',
// PGMLIB='&&GOSET',GOPGM=GO
//LKED EXEC PGM=HEWL,REGION=1024K
//SYSLIB DD DSNAME=&LIBPRFX..SCEELKED,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSLIN DD DDNAME=SYSIN
//SYSLMOD DD DSNAME=&PGMLIB(&GOPGM),
// SPACE=(TRK,(10,10,1)),
// UNIT=SYSDA,DISP=(MOD,PASS)
//SYSUT1 DD UNIT=SYSDA,SPACE=(TRK,(10,10))