Skip to content

RAISE SYSTEM-EXCEPTIONS

Other versions: 7.31 | 7.40 | 7.54

This statement is for internal use only. It must not be used in application programs.

Syntax


RAISE SYSTEM-EXCEPTIONS { RMC_COMMUNICATION_FAILURE 
                        | RMC_INVALID_STATUS
                        | RMC_SYSTEM_FAILURE }

Effect

The given runtime error is raised.


Note

Currently, only the following runtime errors are raised:

  • RMC_COMMUNICATION_FAILURE
  • RMC_INVALID_STATUS
  • RMC_SYSTEM_FAILURE

Moreover, this is only allowed within methods and only in system programs.