Page 1 of 1
OpenVMS status codes
Posted: Sat Jul 20, 2019 12:23 pm
Is there a seminal list of C API status codes somewhere?
Re: OpenVMS status codes
Posted: Mon Jul 22, 2019 1:10 am
Terse questions beget terse answers. Which API and which list do you refer to?
The return values for a C API function call are listed in the function's description in the HP C Run-Time Library Reference Manual
. The list of C error numbers is in SYS$COMMON:[DECC$LIB.REFERENCE.DECC$RTLDEF]ERRNO.H.
The condition codes returned by a VMS system library function are listed in the respective reference manual. These are hard to come by right now, unfortunately. You'd have to go through the HPE OpenVMS documentation landing page
. Only symbolized condition codes are used throughout VMS. Their numeric values can be found in various SYS$COMMON:[DECC$LIB.REFERENCE.SYS$STARLET_C]*DEF.H files.