From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,d12c737003eaeb1 X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,d12c737003eaeb1 X-Google-Attributes: gid1164f8,public From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick) Subject: Re: Successful and not successful completion Date: 1995/08/12 Message-ID: <40irfb$4eg@gap.cco.caltech.edu>#1/1 X-Deja-AN: 108033757 distribution: world references: <1995Aug9.192334.1@sldb5.slac.stanford.edu>,<40c5ab$er4@caip.rutgers.edu> organization: HST Wide Field/Planetary Camera reply-to: carl@SOL1.GPS.CALTECH.EDU newsgroups: comp.os.vms,comp.sys.dec In article <40c5ab$er4@caip.rutgers.edu>, halasz@caip.rutgers.edu writes: =In article <1995Aug9.192334.1@sldb5.slac.stanford.edu>, fairfield@sldb5.slac.stanford.edu writes => .... => Before posting another ill-informed opinion, I suggest you study => up on VMS _condition values_. A good reference would be the OpenVMS => Calling Standard, Chapter 6 (in the V6.1 doc set) which discusses = =Why is it a good idea that there is this message, = %SYSTEM-x-NORMAL, normal successful completion =which is not meaningful unless x is "S"? Well, for starters, it makes it easy to parse the severity of the message. For another, it allows a uniform approach to status values. Furthermore, a value of I is also meaningful in that context. For example, if you've got a program that takes a qualifier to enable informational messages as it does its work, you'd probably want to indicate successful completion of subtasks with informational messages displayed via SYS$PUTMSG rather than success messages. =Why is it a good idea that there is this message, = %SYSTEM-x-ABORT, abort =which is not meaningful unless x is "E" or "F"? Now, that's simply not true. There can certainly be applications where an aborted request is considered, BY THE APPLICATION to be a normal status. For example, a program to check to see whether a device is working properly could quite reasonably return "%SYSTEM-S-ABORT, abort" to indicate that it SUCCESSFULLY tested the device and found a problem with it. =For file not found, even "S" can be useful. No, =it would hav been better if there were one message, = %SYSTEM-x-COMPLETION, completion Since you were too damned pig-headed to take the good advice given you, I'll repeat it, moron: => Before posting another ill-informed opinion, I suggest you study => up on VMS _condition values_. A good reference would be the OpenVMS => Calling Standard, Chapter 6 (in the V6.1 doc set) which discusses An even better reference is the _Message Utility Manual, which discusses messages in detail. There *IS* one message: it's specified by bits 3-15 of the message code. Severity is specified by bits 0-2. Facility by bits 16-27, and internal control flags (including whether DCL should automatically display the message when your image exits) by bits 28-31. Now, RTFM, and don't bitch again unless you're willing to learn something instead of mindlessly repeating your witless diatribe. -------------------------------------------------------------------------------- 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.