home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.vms
- Path: sparky!uunet!news.univie.ac.at!scsing.switch.ch!univ-lyon1.fr!ghost.dsi.unimi.it!rpi!usc!sol.ctr.columbia.edu!usenet.ucs.indiana.edu!fractal!mdchaney
- From: mdchaney@fractal.ucs.indiana.edu (M Darrin Chaney)
- Subject: Re: Can DCL programs execute 'other' commands ?
- Message-ID: <C1Io8H.AH5@usenet.ucs.indiana.edu>
- Sender: news@usenet.ucs.indiana.edu (USENET News System)
- Nntp-Posting-Host: fractal.ucs.indiana.edu
- Organization: Indiana University, Bloomington
- References: <1jvfpnINNjtu@gap.caltech.edu> <1993Jan26.133712.18548@tomcat.rd.ray.com> <1k4pn8INNjbq@gap.caltech.edu>
- Date: Wed, 27 Jan 1993 14:29:04 GMT
- Lines: 32
-
- In article <1k4pn8INNjbq@gap.caltech.edu> carl@SOL1.GPS.CALTECH.EDU writes:
- >In article <1993Jan26.133712.18548@tomcat.rd.ray.com>, frank@tomcat.rd.ray.com (Frank Sandy) writes:
- >=In article <1jvfpnINNjtu@gap.caltech.edu> carl@SOL1.GPS.CALTECH.EDU writes:
- >=>You put $ signs only at the beginnings of DCL commands, not in front of lines
- >=>which are data for an image. In your case, you want:
- >=> $ MAIL
- >=> READ 1
- >=> READ 2
- >=> EXIT
- >=
- >= Carl's reply is generally correct, but it won't work well for
- >=programs like mail that may need to display more than one screen between
- >=READ commands. An indeterminate number of blank lines would be needed
- >=between the READ 1 and READ 2, etc.
- >
- >The environment in which the procedure was to execute wasn't specified. If
- >its output is to something other than a terminal, then the blank lines aren't
- >necessary. I simply took the commands the person who posted the question
- >apparently wanted to execute and modified his script so it would work.
-
- "extract/all sys$output" will cause the messages to be dumped to the
- terminal, file, or whatever with no need to worry about how many messages,
- or how long they are, etc. Carl's right, though, it's irrelevent because
- the original poster just wanted to have an example with these commands. He
- didn't care if it "worked" or not.
-
- Darrin
- --
- M Darrin Chaney, Senior Database Programmer, University Computing Services, IU
- mdchaney@indiana.edu 1000 E 17th St. Work: (812)855-5492
- mdchaney@iubacs.bitnet Bloomington, IN 47408 Home: (812)333-6311
- "I want- I need- to live, to see it all..."
-