every_clause syntax
Most forms of the AT command contain an optional every_clause that
controls whether the specified action is taken based on the number
of times a situation has occurred. For example, you might want an
action to occur only every 10th time a breakpoint is reached.
The syntax for every_clause is:
EVERYinteger- Specifies how frequently the breakpoint is taken. For example,
EVERY5 means that z/OS® Debugger is started every fifth time theAT-condition is met. The default isEVERY 1. FROMinteger- Specifies when z/OS Debugger invocations
are to begin. For example,
FROM 8means that z/OS Debugger is not started until the eighth time theAT-condition is met. If theFROMvalue is not specified, its value is equal to theEVERYvalue. TOinteger- Specifies when z/OS Debugger invocations
are to end. For example,
TO 20means that after the 20th time thisAT-condition is met, it should no longer start z/OS Debugger. If theTOvalue is not specified, the every_clause continues indefinitely.
Usage notes
FROMinteger cannot exceedTOinteger and all integers must be ≥ 1.EVERYby itself is the same asEVERY 1 FROM 1.- The
EVERY, FROM, andTOclauses can be specified in any order.
Examples
- Break every third time statement 50 is reached, beginning with
the 48th time and ending after the 59th time. The breakpoint action
is performed the 48th, 51st, 54th, and 57th time statement 50 is reached.
AT EVERY 3 FROM 48 TO 59 STATEMENT 50; - At the fifth change of structure field
memberof the structure namedmystruct, print a message saying that it has changed and list its new value. In addition, clear theCHANGEbreakpoint. The current programming language setting is C.AT FROM 5 CHANGE mystruct.member { LIST ("mystruct.member has changed. It is now", mystruct.member); CLEAR AT CHANGE mystruct.member; }
