Assembling and link-editing in TSO

This listing shows a sample job that assembles and link-edits your program. Some parameters might vary from one QMF installation to the next.

//sampasm    JOB
//STEP1      EXEC PROC=ASMACL
//* Provide access to QMF communications macro DSQCOMM
//C.SYSLIB   DD  DSN=QMF1310.SAMPLIB,DISP=SHR
//C.SYSIN    DD  *
          .
          .
          .
          Your program or copy of QMF sample DSQABFA
          .
          .
          .
/*
//* Provide access to QMF interface module
//* Allocation for your target library
//L.SYSLMOD DD
//* Allocation for the QMF load library
//L.QMFLOAD  DD DSN=QMF1310.SDSQLOAD,DISP=SHR
//L.SYSIN    DD  *
          INCLUDE QMFLOAD(DSQCIA)
          ENTRY sampasm
          MODE  AMODE(31) RMODE(31)
          NAME  sampasm(R)
/*