REPEAT [ HP Transact Reference Manual ] MPE/iX 5.0 Documentation
HP Transact Reference Manual
REPEAT
Alters or displays the Transact/iX REPEAT option.
Syntax
REPEAT [ON ]
[OFF]
Parameters
ON Turns on the REPEAT flag to repeat the current
Transact/iX command sequence. This is the same as
issuing a SET(OPTION) REPEAT statement within the
Transact/iX source file.
OFF Turns off the REPEAT flag.
Discussion
This command provides a programmatic method of changing the Transact/iX
repeat option. If neither ON nor OFF is specified, the current value of
the REPEAT option is displayed and you can modify its value.
Example
The following example shows how to turn on and turn off the repeat flag
using the REPEAT command.
TRANDEBUG> REPEAT
REPEAT FLAG CURRENTLY OFF
CHANGE OPTION?(Y/N) N
TRANDEBUG> CONTINUE
Customer Dollars Spent
----------------------------
John Smith $100.25
Jane Monroe $201.75
James Lorenz $ 21.45
BREAKPOINT ENCOUNTERED, EXECUTION STOPPED:
SYSTEM SEGMENT OFFSET
------------------------------------
1. PARENT 0 28
TRANDEBUG> REPEAT ON
TRANDEBUG> CONTINUE
Customer Dollars Spent
----------------------------
Joe Customer $ 50.45
Jane Monroe $201.75
James Lorenz $100.25
Customer Dollars Spent
----------------------------
Joe Customer $ 21.45
Jane Doe $201.75
John Smith $100.25
Customer Dollars Spent
----------------------------
Joe Customer $ 30.00
Jane Doe $201.75
John Smith $100.25
<Ctrl-Y>
TRANDEBUG> REPEAT OFF
MPE/iX 5.0 Documentation