Monitor obtains QMF session information from the Monitor VSAM file (which is written by the HPO/Governor module). During normal usage, more and more data will be written to this file. The Monitor online facility can generate and submit JCL to clean up this file.
The required frequency of cleanup is related to the amount of QMF activity at your site and the space allocation of the VSAM file. Once the data in the file is purged, it is no longer available for display from the Monitor online facility. Therefore, if a daily purge is scheduled, data will only be available for the last 24 hours.
Selecting option 2 from the Monitor Selection Menu brings you to the VSAM File Cleanup JCL panel. You can also invoke this panel by issuing the following TSO command:
CALL 'QMFHPO.SRAALOAD(RAAMAIN)' 'MN 2'
This panel allows you to specify the information needed to create the JCL and to run the cleanup batch job.
DB2P -- VSAM File Cleanup JCL ---------------------------------------- 8.1.0 Command ===> Press ENTER to build JCL. Type CAN or CANCEL or press PF3 to cancel this request. 1. Monitor VSAM File.. ===> 2. Cleanup Parameter.. ===> (1=Reinitialize entire file, 2=Keep records for today, 3=Keep records for last 7 days, 4=Keep records for last 30 days) 3. Job Cards... ===> ===> ===> ===> 4. Edit or Submit JCL? ===> (E=Edit, S=Submit) |
If you press Enter, all input fields will be validated. If any errors are detected during input validation, the panel will be redisplayed with an error message. Otherwise, JCL to run the cleanup job will be edited or submitted.
If you press PF3, all input fields will be ignored and you will return to the previous panel.
The fields on the panel are: