DB2 graphic QMF Version 8

Sample task

Follow these steps to use the command line:

  1. Create a procedure.

    For example,

    run query ObjectTracking (form=ObjectTrackingForm
    export report to c:\qmftrack.rep
    windows notepad c:\qmftrack.rep

    This example executes a query called ObjectTracking using the form called ObjectTrackingForm for report generation. The procedure exports the report to a file called qmftrack.rep at the local system in the c:\directory. Then, in the Windows Notepad c:\qmftrack.rep line of the procedure, the saved report file is opened using Notepad.

  2. Save the procedure at the server or as a local file.

    For example,

    c:\procedure1.prc
  3. Run the procedure.
  4. Type the following command in the Run command field if the procedure was saved at the server:
    "C:\Program Files\IBM\QMF for Windows\qmfwin.exe" /IServer:DB2AIX
     /IProcname:DB2INST1.Procedure1 /IUserID:db2inst1
     /IPassword:db2inst1
  5. Type the following command in the Run command field if the procedure was saved locally:
    "C:\Program Files\IBM\QMF for Windows\qmfwin.exe" /IServer:DB2AIX
     /IProcfile:"c:\Procedure1.prc" /IUserID:db2inst1
     /IPassword:db2inst1


Go to the previous page Go to the next page

Downloads | Library | Support | Support Policy | Terms of use | Feedback
Copyright IBM Corporation 1982,2004 Copyright IBM Corporation 1982, 2004
timestamp Last updated: March, 2004