When you are using QMF, you can create a report and insert it into a document with PS/TSO. To run this example, use the ISPF command to bridge to ISPF-PDF and define the data set where your target document is located.
From your PS/TSO session:
GETQMF ASIS USEQMF MYPROC4
The GETQMF macro runs the MYPROC4 routine in QMF, and the report is inserted into your document.
You return to QMF at the point where you issued the ISPF BRIDGE command.
You lose your QMF session if you use a procedure that issues an EXIT command.