To determine whether a given r-code file was compiled with either BLOCK-LEVEL ON ERROR UNDO, THROW or ROUTINE-LEVEL ON ERROR UNDO, THROW in effect (applied by using either a statement or the -undothrow parameter), inspect one of the following:

  • The UNDO-THROW-SCOPE attribute of the RCODE-INFO system handle
  • The COMPILE statement's XREF or XREF-XML output