Exceptionmanager Method errorMessage
Returns the description of the error for anExceptionNumber.
If the number is less than 10,000 then this is a Micro Focus
predefined exception, so it looks in the file OOCOBOL.LNG.
Otherwise it is a user-defined exception.
If the error number is less than 65536, we look in the file
USERDF.LBR\USER.LNG.
Otherwise we expect that the error has been previously
registered with the system by invoking either
"registermessagefile" or "registermessagestring", so we look
in the appropriate registered location.
Using Parameters
anexceptionnumber |
PIC S9(9) COMP-5 |
Returning Parameter