Article View: comp.os.vms
Article #15634Re: Successful and not successful completion
From: Carl J Lydick
Date: Sat, 12 Aug 1995 00:00
Date: Sat, 12 Aug 1995 00:00
24 lines
2470 bytes
2470 bytes
In article <danpop.808262674@rscernix>, Dan.Pop@mail.cern.ch (Dan Pop) writes: =In <40iqa1$4eg@gap.cco.caltech.edu> carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick) writes: = =>43, F for 44, and ? for 45-47. Similarly, messages 1-7 are =>"%SYSTEM-x-NORMAL, normal successful completion", while 0 is =>"%NONAME-W-NOMSG, Message number 00000000". Note: The C RTL, in a fit of =>accomodation to Unix, converts an exit status of zero to 1. = =Nope. It does this in a fit of ANSI/ISO C compliance. Before the ANSI =standard (and some time after :-) the VMS C RTL couldn't care less about =the Unix conventions WRT exit status codes. Hmmm. I thought the ANSI standard required that a successful exit status be defined by keyword. The exit() function in the VAX C RTL converted zero to one before the ANSI standard was adopted. return, on the other hand, left the value untouched. -------------------------------------------------------------------------------- Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL Disclaimer: Hey, I understand VAXen and VMS. That's what I get paid for. My understanding of astronomy is purely at the amateur level (or below). So unless what I'm saying is directly related to VAX/VMS, don't hold me or my organization responsible for it. If it IS related to VAX/VMS, you can try to hold me responsible for it, but my organization had nothing to do with it.
Technical Details
Message-ID:
<40jajf$mt0@gap.cco.caltech.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<40bn8l$a1c@caip.rutgers.edu> <40iqa1$4eg@gap.cco.caltech.edu>,<danpop.808262674@rscernix>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,eea6b6bd6eb0c914 X-Google-Attributes: gidf7344,public X-Google-Thread: 10f8a1,eea6b6bd6eb0c914 X-Google-Attributes: gid10f8a1,public X-Google-Thread: f7cd1,eea6b6bd6eb0c914 X-Google-Attributes: gidf7cd1,public X-Google-Thread: 1164f8,eea6b6bd6eb0c914 X-Google-Attributes: gid1164f8,public X-Google-Thread: fce85,eea6b6bd6eb0c914 X-Google-Attributes: gidfce85,public X-Google-Thread: 104528,eea6b6bd6eb0c914 X-Google-Attributes: gid104528,public From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick) Subject: Re: Successful and not successful completion Date: 1995/08/12 Message-ID: <40jajf$mt0@gap.cco.caltech.edu> X-Deja-AN: 108033765 distribution: world references: <40bn8l$a1c@caip.rutgers.edu> <40iqa1$4eg@gap.cco.caltech.edu>,<danpop.808262674@rscernix> organization: HST Wide Field/Planetary Camera reply-to: carl@SOL1.GPS.CALTECH.EDU newsgroups: comp.os.vms,comp.sys.dec,bit.listserv.vmslsv-l,vmsnet.alpha,vmsnet.misc,vmsnet.vms-posix,poster