The global variable _EXCP_MSGID is set whenever a stream or record I/O function gets an exception. The global variable _EXCP_MSGID, declared in the <stddef.h> header file, contains the exception message ID. See the Record Input and Output Error Macro to Exception Mapping table in the Run-Time Considerations chapter of the ILE C/C++ Run-Time Library Functions for information about the _EXCP_MSGID setting after an OS/400 exception.
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.