If you plan to run QMF procedures in batch mode, you should run this IVP to ensure that QMF for batch mode processing has been successfully installed. The same files and DB2 for VM authorization used in QMF interactive mode are also required to run QMF procedures in batch mode.
The Installation Verification Procedure (IVP) tests the following batch-mode operations:
The IVP procedures are in the sample files on the QMF distribution minidisk.
Your CMS PROFILE EXEC should define the following files:
As a result of the IVP:
During the IVP, it is possible to get QMF error messages if there is an error. For the text of the error messages, see the DSQDEBUG file. For more information on these error messages, you can use the QMF HELP command to view the message help panels. For information on how to use the message utility, see Diagnosing your problem using QMF message support.
If the installer does not have DB2 for VM DBA authority or an authorization ID of "Q", the minimum DB2 for VM authorization required is:
GRANT SELECT ON Q.PROFILES TO installerid GRANT SELECT ON Q.ERROR_LOG TO installerid GRANT RESOURCE TO installerid
GRANT ALL ON Q.OBJECT_DIRECTORY TO installerid GRANT ALL ON Q.OBJECT_DATA TO installerid GRANT ALL ON Q.OBJECT_REMARKS TO installerid
To run the batch mode IVP, use the QMF invocation exec specifying the parameters for batch mode and the QMF procedure Q.DSQ2EBAT:
DSQ2EINV MODE(B) PROC(Q.DSQ2EBAT) or DSQ2EINV MODE(B) PROC(Q.DSQ2EBAT) CMSSUB(NO)
If QMF was not installed correctly, QMF does not initialize and you receive error messages. For the text of the error messages, see the DSQDEBUG file. For more information on these error messages, you can use the QMF HELP command to view the message help panels.
This IVP starting the DSQ2EINV EXEC with the appropriate parameters.
The output looks something like the following. (The 'hyphened' lines indicate the beginning and ending of trace records.)
--------------------------------------------------------- YOU MAY ENTER A COMMAND. --------------------------------------------------------- RUN PROC Q.DSQ2EBAT --------------------------------------------------------- SET (CONFIRM=NO) SET PERFORMED. PLEASE PROCEED.[ Previous Page | Next Page | Contents | Index ]
·
·
·
SAVE DATA AS QMF_IVPDATA DATA WAS SAVED AS QMF_IVPDATA IN THE DATABASE.
·
·
·
OK, YOUR PROCEDURE WAS RUN. --------------------------------------------------------- EXIT THE EXIT COMMAND TERMINATES QMF