Report functions

XML Report

This function composes a full XML file for reporting purpose. The file contains the data for a report writer to write a readable report or an HTML file for the browser. A full report XML file contains the following two sections:

  • The observation section contains the selected observations. Each observation includes statements which might be marked as included or excluded and code coverage extracted observations XML tags that are generated from the report generator.
  • The selection criteria section contains the selection criteria and source markers.
The code coverage Report Utility can be started in batch by starting the EQAXCCR2 REXX exec with the XML parameter. You must specify the following DDNAMES:
EQACRINP
Code coverage extracted observations that are based on selection criteria.
EQACRSEL
Code coverage Selection file.
EQACROUT
XML report output.

An example of using EQAXCCR2 in batch to generate a XML report can be found in hlq.SEQASAMP(EQACCXRP).

All three files are allocated either as a sequential file or PDSE. The file format is VB for the XML file, VBA for the Presentation file, and LRECL=255. If it is a PDSE file, the data set name must include a member name.

Presentation report

A Presentation report can also be generated. It contains the same data as the XML report, except it is presented in a viewer friendly format.

To generate a Presentation report, specify PFMT as the parameter to EQAXCCR2. An example of using EQAXCCR2 in batch to generate a Presentation report can be found in hlq.SEQASAMP(EQACCPRP).