Resolution:
Edit the code to use the TRY/CATCH construct instead of exception declaratives; then recompile.
Example:
In the following example, remove the $set statement to invoke the default perform-type(mf) directive.
$set perform-type(osvs)
repository.
class exception-class as "System.Exception".
procedure division.
declaratives.
s1 section.
use after exception exception-class.
display "Hit exception"
end declaratives.
s2 section.