You issue the following commands:
V SMS,MONDS(IGWVSAM.BASE.DATA.TRAP),ON(dsn1)
dsn1 is eligible to be checked by the trap.OPEN dsn1
dsn1 is
now checked for data corruption by the data trap.V SMS,MONDS(IGWVSAM.BASE.DATA.TRAP),ON(dsn2)
dsn2 is eligible to be checked when it is opened.
The list will only show dsn2; however, dsn1 is still checked by the trap until it is
closed.Here is a slightly more complex example:
V SMS,MONDS(IGWVSAM.BASE.DATA.TRAP),ON(dsn1)
dsn1 is eligible to be checked by the trap.OPEN dsn1
dsn1 is
now checked for data corruption by the data trap.V SMS,MONDS(IGWVSAM.BASE.DATA.TRAP),ON(dsn2)
dsn2 is eligible for the trap. The list will only
show dsn2; however, dsn1 is
still being checked by the trap because it has not been closed.V SMS,MONDS(IGWVSAM.BASE.DATA.TRAP),OFF
dsn2 is
no longer eligible for the data trap, and the data trap is disabled
for dsn1. V SMS,MONDS(IGWVSAM.BASE.DATA.TRAP),ON(dsn2,dsn3)
dsn2 and dsn3 are eligible for the data trap. The list
will show dsn2,dsn3;
however, they are not checked by the trap until they have been opened.
Because the trap is turned back on and dsn1 has
not been closed, dsn1 is again checked by
the data trap.OPEN dsn3
dsn3 is
now checked for data corruption by the data trap, as is dsn1. dsn2 is still not
checked because it has not been opened.