CEEWG — Load and run a Language Environment conforming non XPLINK program

The CEEWG cataloged procedure shown in Figure 1 includes the GO step, which loads an object module produced by the compiler and executes the load module.

The following DD statement, indicating the location of the object module, must be supplied in the input stream to the GO step:
//GO.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 resident library. (The high-level qualifier of this resident library might have been changed at your installation.)

The data set SCEERUN must be included in the STEPLIB DD statement for the GO step. (The name of this load library might have been changed at your installation.)

If the application refers to any data sets in the execution step (such as user-defined files or SYSIN), DD statements that define these data sets must be provided.

Figure 1. Cataloged procedure CEEWG, which loads and runs a program written in any Language Environment-conforming HLL
//CEEWG    PROC LIBPRFX='CEE'
//GO       EXEC PGM=LOADER,REGION=2048K
//SYSLIB   DD   DSNAME=&LIBPRFX..SCEELKED,DISP=SHR
//SYSLOUT  DD   SYSOUT=*
//SYSLIN   DD   DDNAME=SYSIN
//STEPLIB  DD   DSNAME=&LIBPRFX..SCEERUN,DISP=SHR
//SYSPRINT DD   SYSOUT=*
//CEEDUMP  DD   SYSOUT=*
//SYSUDUMP DD   SYSOUT=*