Previous Topic: Set and Remove Statement Trace OptionsNext Topic: Remove Statement Trace Options


Set Statement Trace Options

On the Monitoring submenu, enter the program name, transaction code, or terminal name for which the option will be set. If the option will be set by user ID, specify this. Select the STMT Trace option, using S, and press Enter. The Statement Trace Options screen opens.

         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 the Statement Trace Options screen. The equivalent option used in CNTL transaction‑based 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 will automatically be activated. In addition, a specific terminal ID or user ID will be 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).

Once you have specified the required information, press Enter. You are returned to the monitoring submenu where you selected the Statement Trace option.