Reading Errors from the Process Stack with HPERRREAD [ Getting System Information Programmer's Guide ] MPE/iX 5.0 Documentation
Getting System Information Programmer's Guide
Reading Errors from the Process Stack with HPERRREAD
The HPERRREAD intrinsic allows the user to read any specified error from
the process stack. The user simply specifies how far down into the stack
to read, and the corresponding error status is returned. If any
parameters were pushed onto the stack with the specified error, this
intrinsic does not return them; however, HPERRMSG inserts any parameters
that were pushed with the error into the error messages that it returns.
CAUTION If you call other intrinsics before or during the process of
reading the error stack, the stack is cleared, and the
information it contained is lost. The stack is also cleared if
you implicitly invoke intrinsics from a high-level language
using calls such as readln or writeln in HP Pascal, or DISPLAY
or WRITE from COBOL.
MPE/iX 5.0 Documentation