Batch examples
You can find JCL samples in hlq.SEQASAMP
for
batch jobs. The JCL samples contain the steps to build a test case,
and then to specify, gather, process, and document code coverage for
the test case.
The following members contain JCL samples of gathering code coverage in batch jobs:
Member name | Compiler |
---|---|
EQACC1VZ
|
Enterprise COBOL for z/OS® and OS/390® V3
Enterprise COBOL for z/OS V3 and V4 |
EQACC2VZ | Enterprise PL/I for z/OS V4.2 through V4.5 and V5 |
EQACC3VZ | z/OS XL C |
EQACC4VZ | Enterprise COBOL for z/OS V5 and V6 |
The JCL samples consist of the following steps:
- Compile procedure
- Creating data sets
- Compiling the source
- Binding the output of the compiler to create a load module
- Clearing out the CCOUTPUT file
- Loading the CCPRGSEL Options file
- Loading the CCOBSSEL Selection file
- Running the load module, gathering code coverage data and writing out the CCOUTPUT file
- Running DTU E.4 - Observation extraction
- Running DTU E.5.1 - XML Report generation
- Running DTU E.5.2 - Presentation Report generation