Handling Errors as Exceptions
When the action of REPERROR is EXCEPTION or
TRANSEXCEPTION, you can map the values of operations that generate
errors to an exceptions table and, optionally, map other information about the error
that can be used to resolve the error. See About the Exceptions Table.
To map the exceptions to the exceptions table, use either of the following options of the MAP parameter:
-
MAPwithEXCEPTIONSONLY -
MAPwithMAPEXCEPTION