Compiling and link-editing in TSO

You must compile and link-edit your PL/I program before you can run it in TSO.

This JCL uses the PL/I compiler to compile your callable interface application and then link-edits the application. Some parameters can vary from one QMF installation to the next.

//samPLI JOB
//STEP1 EXEC PROC=IBMZCPL 
//* Provide Access to QMF Communications Macro DSQCOMML 
//PLI.SYSLIB DD DSN=QMF1310.SAMPLIB,DISP=SHR 
//PLI.SYSIN DD *
.
.
.
Your program or copy of QMF sample DSQABFP
.
.
. 
//* Allocation for target library
//LKED.SYSLMOD DD
//* Allocation for QMF load library
//LKED.QMFLOAD DD DSN=QMF1310.SDSQLOAD,DISP=SHR 
//LKED.SYSIN DD * 
INCLUDE QMFLOAD(DSQCIPL) 
INCLUDE QMFLOAD(DSQCIPX) 
ENTRY CEESTART 
MODE AMODE(31) RMODE(ANY) 
NAME sampPLI(R) 
/*