Create a Code Coverage repository


Follow the following procedure to create a Code Coverage repository from Workbench for Eclipse. This repository is used to store Code Coverage data collected during testing. For more information about repositories and how to create a repository using Code Coverage, see Code Coverage Mainframe User/Reference Guide.

To create a Code Coverage repository

  1. Do one of the following:


      • In the Code Coverage view, right-click the Repositories node and select New Repository.
      • In the Code Coverage view, right-click a host under the Repositories node and select New Repository.
      • From the File menu, select New > Code Debug/Code Coverage Repository.
      • From the File menu, select New > Other. The New dialog box appears. Select Compuware > Code Debug/Code Coverage Repository.
      • In the Host Explorer view, right-click the z/OS Dataset node and select Allocate > Code Debug/Code Coverage Repository

    The  Allocate Code Debug/Code Coverage Repository wizard page appears.

    Warning

    Important

    The Select Host page appears if the user is not logged onto a host or if more than one HCI connection exists. Select or configure a host, then click Next.

  2. Specify the information to allocate the repository:

    • Repository dataset name field: Specify a fully qualified name of the dataset to be created. Ensure the site’s Code Coverage users have write access to the specified dataset.
    • Space units: Specify the primary space units for the dataset. A value must be entered when any repository dataset is created. Valid values are Cylinders, Tracks, Records, and Megabytes. This field is required.
    • Primary quantity: Specify the number of primary space units to be allocated for the repository dataset. This field is required. A valid space unit value must be entered when any repository dataset is created. The default size is 10 cylinders, which provides enough space for one or more systems totaling approximately 1000 programs of 800 executable statements each. For estimating purposes, the size of each record is (8 * number of executable verbs) + 160.
    • Volume: Specify the volume serial number on which to allocate the repository dataset Only use this optional field when creating a non-SMS dataset.
    • SMS Parameters: Use these fields only when creating an SMS-managed dataset
      • Management class: Specify the desired SMS management class.
      • Storage class: Specify the desired SMS storage class.
      • Data class: Specify the desired SMS data class.
    Warning

    Important

    Click Restore Defaults to restore the fields to their default values.

  3. Click Finish. A message appears confirming the creation of the Code Coverage repository or showing the reason for failure. The new repository is added to the Code Coverage view under the Repositories node.


 

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

BMC AMI DevX Workbench for Eclipse 23.01