Deutsch English Français Italiano |
<vreq6a$16r1p$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: "Craig A. Berry" <craigberry@nospam.mac.com> Newsgroups: comp.os.vms Subject: Re: C Error Number to Symbol Date: Wed, 19 Mar 2025 11:08:42 -0500 Organization: A noiseless patient Spider Lines: 16 Message-ID: <vreq6a$16r1p$1@dont-email.me> References: <f96165dde75337ce16c809cf96d03a24216699a4@i2pn2.org> <vrefcn$tfpi$1@dont-email.me> <vrehcj$v11r$1@dont-email.me> <1ea0522d871af165039ec8dfef1f85f51d88f3bd@i2pn2.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 19 Mar 2025 17:08:43 +0100 (CET) Injection-Info: dont-email.me; posting-host="259e26e149ff95c6c3da53b8550b761a"; logging-data="1272889"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/1P0vezvgq3sUywSPY+MbgNsdrPpjtY78=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:05BaI5TganP2uNtbZtA6SqFkE4k= In-Reply-To: <1ea0522d871af165039ec8dfef1f85f51d88f3bd@i2pn2.org> Content-Language: en-US Bytes: 1891 On 3/19/25 9:29 AM, Michael Brown wrote: > On 20/3/25 00:38, Craig A. Berry wrote: >> >> I _think_ what he wants is some kind of translation table between errno >> values and VMS condition codes. For example, starting with errno of >> ESRCH and getting to RMS$_RNF or vice versa. I'm not aware of any such >> table, and if there were, it wouldn't be a one-to-one mapping. > > yes if I get a return status of 98994 I would like to be able to look it > up and get "RMS$_RNF" to output that in my error handling routine. > No, I guessed wrong. You are not dealing with errno at all but rather VMS condition code to message lookup, which, as you've now discovered, has already been fully answered.