![]() RFUNCT |
![]() Virtual Machine |
![]() |
PROIV automatically links to the function specified in the system variable @RFUNCT when an automatic rollback occurs as a result of a runtime error. Initially, the @RFUNCT variable is set for a link function of the same name. This @RFUNCT function is supplied with PROIV and causes a window to display showing diagnostic information that is stored in a number of system variables as follows:
Diagnostic Information Available to @RFUNCT
Variable |
Type |
Description |
@MSG |
N3 |
PROIV error message number. |
@MSGTEXT |
A80 |
Error message text,excluding any variable components. |
@MSGARGS |
A80 |
Error message arguments, the variable components. |
@SYSERR |
A20 |
System-specific error code. |
@SYSERRTEXT |
A250 |
System-specific error text,if available. |
The following runtime errors cause this behaviour:
003, 004, 005, 006, 011, 013, 014, 015, 017, 018, 019, 024, 029, 035, 036, 037, 038, 039, 040, 048, 049, 050, 054, 124, 140, 161, 162, 172, 176, 191, 210, 300, 353, 354 and 360 to 399
Topic ID: 720003