home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ftpbox!news.acns.nwu.edu!zaphod.mps.ohio-state.edu!caen!sol.ctr.columbia.edu!usenet.ucs.indiana.edu!master.cs.rose-hulman.edu!rosevc.rose-hulman.edu!mgrthh
- From: mgrthh@rosevc.rose-hulman.edu (Thomas H. Hopson)
- Newsgroups: comp.os.vms
- Subject: Re: command procedure calling
- Date: 27 Jan 1993 21:25:50 GMT
- Organization: Rose-Hulman Institute of Technology
- Lines: 34
- Distribution: world
- Message-ID: <1k6ukvINNdk2@master.cs.rose-hulman.edu>
- References: <ERMIMWEI.20@er.ele.tue.nl?> <1k4p20INNjbq@gap.caltech.edu>
- Reply-To: mgrthh@rosevc.rose-hulman.edu
- NNTP-Posting-Host: hydra.rose-hulman.edu
-
-
- In article <1k4p20INNjbq@gap.caltech.edu>, carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick) writes:
- >In article <ERMIMWEI.20@er.ele.tue.nl?>, ERMIMWEI@er.ele.tue.nl (Wim Beckers) writes:
- >>When a command procedure is called by another command procedure their is
- >>always a return to the calling command procedure.
- >>Is there a possibility to NOT return to the calling procedure?
- >
- >There's no documented way to exit from the entire stack of DCL procedures in a
- >single command.
-
- Try $STOP.
-
- As the help states in one of its examples,
-
-
- 4. $ ON ERROR THEN STOP
- .
- .
- .
-
- In a command procedure, the ON command establishes a default
- action when any error occurs in the execution of a command or
- program. The STOP command stops all command levels. If this ON
- command is executed in a command procedure, which in turn is
- executed from within another procedure, control does not return
- to the outer procedure, but to DCL command level 0.
-
- - Tom
-
- --
- Thomas H. Hopson work: mgrthh@rosevc.rose-hulman.edu
- VMS Manager / CS geek mgrthh@rhit
- Rose-Hulman Institute of Technology play: hopsonth@cs.rose-hulman.edu
- Terre Haute, Indiana
-