Using the PCPSPACE program


You can use the batch space monitoring program (program name PCPSPACE) to perform the following tasks:

  • Setup processing

    You can use the SETUP functions of PCPSPACE to set up, change, and delete space monitoring instead of using the ISPF interface to perform these tasks interactively. You would typically use PCPSPACE for setting up or changing monitoring for a large number of databases, while you would use the ISPF interface to set up or change space monitoring for individual databases.

  • Space processing

    PCP captures space usage statistics when you first set up the database for space monitoring and each time you check the database for pointer errors (using either the Hash Checking or Full Checking technique). If you require more frequent gathering of statistics for space monitoring and do not want to incur the overhead of more frequent database pointer checking, you can run the SPACE functions of PCPSPACE to capture data set space usage information for all databases or a select set of databases. The SPACE functions can also extract the statistics for reporting, and purge sets of statistics from the PDX.

  • Volume processing

    You can use PCPSPACE to collect and report volume monitoring statistics. To provide volume information, PCPSPACE must capture the statistics on the percentage of space used for all databases that are registered for space monitoring. However, if PCPSPACE captures statistics through the space capture function described previously, it can use these statistics in the same job step to obtain the volume statistics with very little overhead. Therefore, you should set up the VOLUME processing to execute with the SPACE capture function.

Typically, you would run the SPACE and VOLUME functions on a frequent, scheduled basis to capture and report statistics. You would run the SETUP functions only when you want to set up or change the space monitoring setup information.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*