The ERRSAV subroutine copies an ESSL error option table entry into an 8-byte storage area that is accessible to your program.
For multithreaded application programs, if you want the error handling capabilities that this subroutine provides to be implemented on each thread created by your program, this subroutine must be called from each thread. If your application creates multiple threads, the action performed by a call to this subroutine applies to the thread that this subroutine was invoked from. For an example, see Example of Handling Errors in a Multithreaded Application Program.
Fortran | CALL ERRSAV (ierno, tabent) |
C and C++ | errsav (ierno, tabent); |
PL/I | CALL ERRSAV (ierno, tabent); |
Examples of how to use ERRSAV are provided in Chapter 4, Coding Your Program.