Starting z/OS Debugger Code Coverage without a debug session

You can start z/OS Debugger Code Coverage without an interactive z/OS Debugger session.

  1. To generate code coverage data without a debug session, in ISPF Edit or Browse, enter EQAJCL C to bypass the z/OS Debugger JCL Wizard Option Selection panel. Alternatively, enter EQAJCL to invoke the IBM z/OS Debugger JCL Wizard and then select C.
    Enter the EQAJCL C command.
  2. In the Program/Procedure Selection List panel, select the program step name or procedure that you want to gather code coverage for.
    Select the program step name or procedure.
  3. Lines are added to the JCL to invoke z/OS Debugger and initiate code coverage with a Language Environment® variable EQA_STARTUP_KEY=CC added to CEEOPTS DD. The EQAOPTS DD statements are generated to provide the appropriate data sets for code coverage.
    The JCL is generated.

After the program completes, you can review the code coverage information by using the IBM® z/OS Debugger Utilities option E z/OS Debugger Code Coverage.