Using QMF

Accessing QMF from an OS/390 editor

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.

  1. Choose where you want the document inserted by using the A (after) or B (before) prefix commands.
  2. From your ISPF-PDF edit session, enter the GETQMF macro:
    GETQMF USEQMF MYPROC
    

    Your screen is blank for a few minutes while MYPROC creates and prints a report.

  3. When the QMF object panel appears, enter an EXIT command to exit QMF.

    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.

  1. From a document in ISPF-PDF or PS/TSO, insert a prefix command A (after) or B (before) to receive the new report at the proper place.
  2. On the command line, enter the GETQMF macro:
    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.

  1. Enter the GETQMF macro:
    GETQMF ASIS USEQMF
    

    Your screen is blank for a few minutes while the macro is running.

  2. When the QMF Home panel appears with a document interface message, produce a report as you normally would in QMF.
  3. Alter the form of the report if necessary.
  4. Display the report to check it.
  5. Enter PRINT REPORT.
  6. Enter an END or EXIT command to exit QMF.

    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.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]