Accepting the default runtime options

To run an existing object module under batch and accept all of the default Language Environment runtime options, use the following sample JOB with the Language Environment-provided link-edit and run cataloged procedure CEEWLG (see CEEWLG — Link and run a Language Environment conforming non-XPLINK program for more information). The CEEWLG procedure identifies the Language Environment libraries that your object module needs to link-edit and run; you do not need to explicitly identify these in your JCL.

There is also a cataloged procedure, CEEXLR, for XPLINK. See CEEXLR — Link and run a Language Environment conforming XPLINK program.

Figure 1. Accepting the default runtime options under batch
//CEEWLG JOB
//*
//LINKGO     EXEC CEEWLG
//LKED.SYSIN DD DSN='userid.MYLIB.OBJLIB(MYPROG)',...DISP=SHR
//*