_unerr.utl Utility - Unexpected Error Handler
Syntax
call "_unerr.utl",error,line_number,program_name$,tcb_value{,file_fid$}
Description
The _unerr.utl utility buffers error information for later display by _saywarn.utl. It uses the same buffer as _warn.utl.
Parameter |
Description |
error |
PRO/5 error number (ERR). |
line_number |
Line number that caused the error (TCB(5)). |
program_name$ |
Program the error occurred in (PGM(-2)). |
tcb_value |
Host error number (TCB(10)). |
file_fid$ |
FID() of the file channel in use when the error occurred. |