TRAPSAVE
8.0.4, ANSI
The TRAPSAVE instruction saves all trapped events. The instruction uses the following format:
|
|
|
|
|
Where:
label
Optional. A Program Execution Label.
traps
Required. A previously defined Character String Variable that receives the current trap information.
Flags Affected: EOS
Note the following:
All of the currently active traps are saved in {traps}.
The size required for the {traps} variable may be determined by using the TRAPSIZE instruction.
The traps are not changed or cleared.
If {traps} is too small to hold the information, the EOS flag is set and the data is invalid.
See Also: TRAPRESTORE, TRAP, TRAPCLR, Program Control Instructions
![]() |