Chapter Contents |
Previous |
Next |
Introduction to the SAS/C Library |
When the library calls an operating system service (including
an USS system call) that fails, information about the failure is saved in
a library structure. Macros are defined in
<lcdef.h>
to enable user code to determine the service that failed and the resulting
failure codes. Only the most recent failure information is saved; information
is not saved for successful services. The following macros are defined:
_ _sysmi_macname
_ _sysmi_rc
errno
value.
_ _sysmi_reason
_ _sysmi_info
You can use the macro
_ _sysmi_clear
to clear previously stored system macro information. You may
wish
to call
_ _sysmi_clear
before calling
a routine that might store SYSMI information to ensure that any such information
relates to the most recently called function.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.