The following examples issue the GETQMF macro from:
Example 1--From XEDIT or the CMS NOTE facility: The existing QMF report file XX MYREPORT A1 is inserted as is. Use the FILE option to specify the name of the CMS file that contains the QMF report. The insertion occurs without a QMF session.
GETQMF ASIS FILE XX MYREPORT
The report named XX MYREPORT A1 is inserted directly into the document you are working on, just after the current line. You get a message that indicates that the report is inserted.
Example 2--From XEDIT or ISPF-PDF: The existing QMF report named XX MYREPORT A1 is inserted into your document as is. (ASIS is the default.) The procedure is the same as in Example 1:
GETQMF FILE XX MYREPORT
Example 3--From XEDIT: This example inserts a new report into your document and shows the minimum abbreviation of the USEQMF option.
GETQMF U
(U is the minimum abbreviation for the USEQMF option.)
Your screen is blank for a few minutes while the macro runs.
The report is inserted into your document, and you return to XEDIT where you were before you issued the GETQMF macro.
If you type EXIT on the QMF command line without printing a report, you return to XEDIT. An error message appears, and no report is inserted.
Example 4--From ISPF-PDF: The USEQMF option specifies that QMF is used to produce a report during the edit session. The named procedure MYPROC runs to produce the report.
GETQMF DCF USEQMF MYPROC
Your screen is blank for a few minutes while MYPROC creates and prints a report.
The report is inserted into your document (with SCRIPT/VS control words) when QMF ends.
Use EXIT to leave QMF; the END command runs the initial procedure again.