CEEXR — Load and run a Language Environment conforming XPLINK program

The CEEXR cataloged procedure shown in Figure 1 includes the GO step, which loads and executes an XPLINK program module specified on input parameters to the procedure.

The data sets SCEERUN and SCEERUN2 must be included in the STEPLIB DD statement for the GO step. (The high-level qualifier of these load libraries might have been changed at your installation.)

If the application refers to any data sets in the execution step (such as user-defined files), DD statements that define these data sets must be provided.
Figure 1. Cataloged procedure CEEXR, which loads and runs a program-compiled XPLINK
//CEEXR    PROC PGMLIB=,                < INPUT STEPLIB ... REQUIRED
//   GOPGM=,                            < INPUT PROGRAM ... REQUIRED
//   LIBPRFX='CEE',                     < PREFIX FOR LIBRARY DSN
//   GREGSIZ='2048K',                   < EXECUTION REGION SIZE
//   GPARMS='XPLINK(ON),TERMTHDACT(UADUMP)/' < RUN-TIME OPTS
//GO       EXEC PGM=&GOPGM,REGION=&GREGSIZ,
//         PARM='&GPARMS'
//STEPLIB  DD   DSNAME=&LIBPRFX..SCEERUN,DISP=SHR
//         DD   DSNAME=&LIBPRFX..SCEERUN2,DISP=SHR
//         DD   DSNAME=&PGMLIB,DISP=SHR
//SYSPRINT DD   SYSOUT=*
//CEEDUMP  DD   SYSOUT=*
//SYSUDUMP DD   SYSOUT=*