The following examples issue the GETQMF macro from ISPF-PDF and PS/TSO.
Example 1--From ISPF-PDF: The USEQMF option specifies that QMF is used to produce the report during the edit session.
GETQMF USEQMF MYPROC
Your screen is blank for a few minutes while MYPROC creates and prints a report.
The report is inserted into your document as is when QMF ends.
Use EXIT to leave QMF; the END command runs the initial procedure again.
Example 2--From ISPF-PDF or PS/TSO: The QMF report data set userid.MYREPORT is inserted into the user's document as is.
GETQMF ASIS DSN userid.MYREPORT
The macro gets the existing report, userid.MYREPORT. Then, it inserts it into your document, and returns you to the ISPF-PDF or PS/TSO editor you were using before you issued the GETQMF macro.
Example 3--From ISPF-PDF: The QMF report is produced interactively in QMF.
GETQMF ASIS USEQMF
Your screen is blank for a few minutes while the macro is running.
The report is inserted into your document, and you return to ISPF where you were before issuing the GETQMF macro.
If you type EXIT on the QMF command line without printing a report, you are returned to ISPF. An error message displays, and no report is inserted.