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.

Comment on this topic

Topic ID: 720003