Validity: Rule, Task
Variable that contains the index of the R register from which DUMP information begins. To enable its use see sys_dump. Specifically:
•The R register I refer to contains the index of the first SR register that will be part of the first block of Dump
•The next R register indicates how many SR registers following the first are part of the first Dump block
•Additional R registers will, two by two, have the same function as the registers shown above, and will refer to subsequent Dump blocks
NOTE: The DUMP operation will be concluded when one of the R registers indicating the first SR of a block is an illegal number or less than an SR register already in the Dump. The operation is also concluded if the number of registers I want to save is greater than the number of registers remaining.
From RTE 34.24.0, by setting the value of the variable -1 I do the DUMP of all SR registers.
Example
; I want to save SR Registers 1 to 3 and 7 to 8 in the DUMP ; SHELL commands: sys_dump_sr = 1000 ; I take DUMP info from register 1000 R(1000) = 1 ; First block: The starting SR is 1 R(1001) = 3 ; First block: Dump of the 3 SR following the starting one R(1002) = 7 ; Second block: The starting SR is 7 R(1003) = 2 ; Second block: Dump of the 2 SR following the starting one R(1004) = 0 ; Being less than the last register in the Dump ; a third block is not created and the Dump operation ends sys_dump.25 = 1 ; enable use of sys_dump_sr sys_dump.0 = 1 ; Start DUMP
; Generated file /dump/dump.stp will be: ; System Dump - created on (dmy) 28/11/17 at 9:39:5 ;--------------------------------------------------- ; Dumping from SR(1) to SR(3) ;--------------------------------------------------- SR(1) = "" SR(2) = "" SR(3) = "" ;--------------------------------------------------- ; Dumping from SR(7) to SR(8) ;--------------------------------------------------- SR(7) = "" SR(8) = "" ; ----- End of DUMP ----- file written in 0.032 mSec |