Previous Topic: End a Source Listing Backtrace SessionNext Topic: INTC--Indirect Commands


Set the Code Counting/Coverage Option

CA InterTest for CICS has many options for specialized testing needs. The code coverage option lets you see the number of times an Assembler statement was executed.

The initial setting for Code Counting is OFF, which is the default. However, you can use the Source Listing Profile screen to turn it ON or OFF again at any time after you have selected monitoring for a program.

How the counts are displayed or not displayed is handled by the primary line command COUNTS and its associated parameters.

This feature does cause overhead during program monitoring and should be turned off as soon as it is no longer needed.

To change the setting for Code Coverage, perform the following steps:

  1. Type profile on the command line and press Enter, or press PF4 to access the Profile screen from any Source Listing Screen. The Code Counting= field shows the current setting.
  2. Overtype the current value with one of the following:

    YES Enables code counting and turns on the COUNTER display feature.

    NO Removes the COUNTER display and stops the counting feature.

  3. Press Enter to process the new setting(s) and to return to the Source Listing Display.

    The following screen shows the Code Coverage feature.

    CA InterTest for CICS Release 9.1.00 - PROTSYM FILE ABEND DETECTED BREAKPOINT COMMAND ===> Program= PLIDEMO Option # Stmt # Margin= 01 Search= ------------------------------------------------------------------------------- _____ TASKNUM | ?00000. ---------+--------------------------------------------------------| COUNTER |-- _ 587.1 0 F0 F0 F6 F0 F0 F0 F0 F0 'X */,NOPROB); | | _ 588.1 1 2 END; | 0000001 | _ 589.1 /* EXEC CICS DELETEQ TS QUEUE(TSQ_N| | _ 590.1 1 1 DO; | 0000001 | _ 591.1 1 2 DCL DFHENTRY_BF6577CC_AC4F3B6B BASE| |I _ 592.1 ER ASSEMBLER) ENTRY(*,CHAR(8)); | | _ 593.1 1 2 CALL DFHENTRY_BF6577CC_AC4F3B6B(' | 0000001 |0 _ 594.1 80 00 03 00 00 21 00 F0 F0 F6 F1 F0 F0 F0 F0| |N _ 595.1 1 2 END; | 0000001 | _ 596.1 1 1 GOTO CONTINUE_TASK; | 0000001 | _ 597.1 1 1 END; | 0000000 | _ 598.1 | | _ 599.1 1 GOTO SENDSCR1; | 0000000 | _ 600.1 | | _ 601.1 1 WRITETSQ: | 0000001 | _ 602.1 TS_SWITCH = ' '; | |