DB2 graphic  QMF Version 8

Optional: Run the batch-mode IVP

Skip this step if your installation does not use batch-mode QMF.

This step tests batch-mode IVP by running the batch-mode job that you created in Set up a QMF batch job to run batch IVP (optional). The job begins a background TSO session in which QMF runs the procedure Q.DSQ1EBAT. The procedure conducts the batch-mode IVP and tests the following batch-mode operations:

The IVP is successful when it runs without error and prints the following query:

DELETE FROM &NAME
   WHERE OWNER = USER AND NAME = 'QMF_IVPQUERY'

  1. Examine the JCL.

    The resources QMF needs in batch mode and those it needs interactively are basically the same. You can create the batch job out of the sample TSO logon procedure. Be certain that your batch job allocates DSQPRINT. Output from the QMF PRINT command goes into this file.

  2. Examine the QMF procedure Q.DSQ1EBAT.

    You created Q.DSQ1EBAT with the sample queries and procedures. It was saved with SHARE=YES. You can therefore examine and edit it on the screen. If you are not using QMF810 as the prefix for the QMF data sets, you must change the procedure's IMPORT commands, which retrieve queries from the QMF sample library.

    If you change the procedure, you must save it under your own logon ID; be sure to specify SHARE=YES. If you started QMF as an ISPF dialog, you must change the ISPSTART statement in the batch IVP JCL to reflect the new ownership of the procedure. For example, if your logon ID is JONES, the modified statement looks like this:

    ISPSTART PGM(DSQQMFE) NEWAPPL(DSQE) PARM(DSQSMODE=B,DSQSRUN=JONES.DSQ1EBAT)
  3. Run the job.
  4. Check the printed output, the table Q.ERROR_LOG, and the DSQDEBUG data set for errors. If an error is recorded in Q.ERROR_LOG or DSQDEBUG, you can use the HELP command to see the corresponding message help panel.

    If the job fails, you can correct the error and rerun it.


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