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 run time error will be triggered.


Note

At present, only the following runtime errors can be triggered:

  • RMC_COMMUNICATION_FAILURE
  • RMC_INVALID_STATUS
  • RMC_SYSTEM_FAILURE

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