home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / vms / 21846 < prev    next >
Encoding:
Internet Message Format  |  1993-01-24  |  2.4 KB

  1. Path: sparky!uunet!gatech!darwin.sura.net!sgiblab!adagio.panasonic.com!nntp-server.caltech.edu!SOL1.GPS.CALTECH.EDU!CARL
  2. From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick)
  3. Newsgroups: comp.os.vms
  4. Subject: Re: DCL: ? Continuing execution after -?- severity message.
  5. Date: 23 Jan 1993 20:55:32 GMT
  6. Organization: HST Wide Field/Planetary Camera
  7. Lines: 48
  8. Distribution: world
  9. Message-ID: <1jsbc4INNdss@gap.caltech.edu>
  10. References: <01GTTGNJRFXC00114F@HOPE.CIT.HOPE.EDU>
  11. Reply-To: carl@SOL1.GPS.CALTECH.EDU
  12. NNTP-Posting-Host: sol1.gps.caltech.edu
  13.  
  14. In article <01GTTGNJRFXC00114F@HOPE.CIT.HOPE.EDU>, BAREMAN@HOPE.CIT.HOPE.EDU ("Steven L. Bareman") writes:
  15. >What commands to I need to use to insure that a command 
  16. >procedure doesn't quit running after any warning/error conditions?
  17.  
  18. $ SET NOON
  19.  
  20. >I have a procedure which must run to completion even if one of 
  21. >the commands generates a warning/error condition and at the 
  22. >beginning I have:
  23. >
  24. >$ ON SEVERE_ERROR THEN CONTINUE
  25. >
  26. >I thought that would cover them all but the procedure terminated 
  27. >prematurely after starting (and completing?) a backup recording pass.
  28. >
  29. >Do I need to have "ON" traps for each severity level, or should 
  30. >just the highest one catch it?
  31.  
  32. >Please respond directly to me since I am not subscribed to this list.
  33.  
  34. Too lazy to read the list and too incompetent to use on-line HELP, eh?
  35. From the output of the command "$ HELP ON examples"
  36.  
  37.  
  38. $ HELP ON examples
  39.  
  40. ON
  41.  
  42.   Examples
  43.  
  44.  
  45.        1.  $ ON SEVERE_ERROR THEN CONTINUE
  46.  
  47.          A command procedure that contains this statement continues
  48.          to execute normally when a warning or error occurs during
  49.          execution. When a severe error occurs, the ON statement signals
  50.          the procedure to execute the next statement anyway. Once
  51.          the statement has been executed as a result of the severe
  52.          error condition, the default action (ON ERROR THEN EXIT) is
  53.          reinstated.
  54. --------------------------------------------------------------------------------
  55. Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL
  56.  
  57. Disclaimer:  Hey, I understand VAXen and VMS.  That's what I get paid for.  My
  58. understanding of astronomy is purely at the amateur level (or below).  So
  59. unless what I'm saying is directly related to VAX/VMS, don't hold me or my
  60. organization responsible for it.  If it IS related to VAX/VMS, you can try to
  61. hold me responsible for it, but my organization had nothing to do with it.
  62.