Previous Topic: Remove MON and NOM OptionsNext Topic: Notes and Warnings


Examples

The following are command examples of specifying MON and NOM options.

To selectively monitor the program COBPROGA from paragraph A‑TEST to the paragraph name A‑TEST‑EXIT, specify:

CNTL=ON,PROG=COBPROGA,MON='A‑TEST'

This command declares a MON option for the first machine instruction in A‑TEST. CA InterTest for CICS monitoring starts when the first machine instruction at A‑TEST is executed.

The following command declares a NOM option for the first machine instruction in statement 123. CA InterTest for CICS monitoring stops prior to the execution of this statement.

CNTL=ON,PROG=COBPROGA,NOM=#123

The following command declares a NOM option for the first machine instruction in the paragraph A‑TEST‑EXIT.

CNTL=ON,PROG=COBPROGA,NOM='A‑TEST‑EXIT'

The following command declares the same options as the three preceding commands.

CNTL=ON,PROG=COBPROGA,MON='A‑TEST',NOM=(#123,'A‑TEST‑EXIT')

The following command selectively removes the two NOM options that were displayed by an Inquiry Report with ID= numbers 02 and 03.

CNTL=OFF,PROG=COBPROGA,NOM=ID=(02,03)
CNTL=OFF,PROG=COBPROGA,MON=.ALL,NOM=.ALL,LET=.ALL

Note: Any non‑sequential passing of control (such as PERFORM, GO TO, and so on), executed between the MON location at A‑TEST and the NOM location at
A‑TEST‑EXIT could result in CA InterTest for CICS monitoring outside the designated range.