OpenVMS status codes

Post Reply
User avatar

Topic author
ajbrehm
Active Contributor
Posts: 32
Joined: Sun Jun 16, 2019 7:55 am
Reputation: 0
Location: Zurich
Status: Offline
Contact:

OpenVMS status codes

Post by ajbrehm » Sat Jul 20, 2019 12:23 pm

Is there a seminal list of C API status codes somewhere?

User avatar

martinv
Contributor
Posts: 23
Joined: Fri Jun 14, 2019 11:05 pm
Reputation: 0
Location: Goslar, Germany
Status: Offline
Contact:

Re: OpenVMS status codes

Post by martinv » 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.
Last edited by martinv on Wed Jul 24, 2019 7:28 am, edited 1 time in total.
If you think it's expensive to hire a professional, wait until you hire an amateur.

Post Reply