Previous Topic: Request BreakpointsNext Topic: Remove Statement Trace Options


Statement Trace Options

Note: These options are unrelated to the backtrace facility.

Set Statement Trace options to save trace information for executed COBOL statements and to capture data values for those statements. Remove the Statement Trace options to delete the trace data.

To set or remove Statement Trace options, follow these steps.

  1. Specify function 16, S or R.
  2. Specify the program names, transaction codes, or terminal names on the Function Selection Menu, and press Enter.

The following Statement Trace Options screen opens. For detailed instructions, see The Function Selection Menu earlier in this chapter.

          CA InterTest MONITORING COMMAND BUILDER - STATEMENT TRACE OPTIONS  16                                                                                       SET statement trace options for: PROG=COBDEMO                                                                                          Enter X next to each option desired:                                               Statement tracing (TRC) _               Data monitoring   (DM ) _               Term ID (or .ANY or .NO) where trace options will take effect:   ____             User ID (or .ANY) who will execute the program:                  _______                                                                                     Note: If data monitoring is selected either a specific terminal ID or user ID          is required.                                                                                                                                                                                                                                                      PF1 Help       2            3 End        4 Return     5            6             PF7            8            9           10           11           12 

Specify the following options on this screen. The equivalent option used in single‑line commands is specified in parentheses.

Statement tracing (TRC)—Instructs CA InterTest for CICS to save trace information for every executed COBOL statement.

Data monitoring (DM)—Instructs CA InterTest for CICS to capture data values for every executed COBOL statement. If data monitoring is selected, statement tracing is automatically activated. In addition, a specific terminal ID or user ID is required.

Term ID (or .ANY or .NO) where trace options will take effect—Specifies that the program be monitored and that Statement Trace options, if specified, take effect only when the program is executed at any terminal (.ANY), no terminal (.NO), or a specific terminal.

User ID (or .ANY) who will execute the program—Specifies that the program be monitored and that Statement Trace options, if specified, take effect only when the program is executed by any user (.ANY) or a specific user (a CICS user ID).