home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!tcsi.com!iat.holonet.net!news.cerf.net!usc!elroy.jpl.nasa.gov!nntp-server.caltech.edu!SOL1.GPS.CALTECH.EDU!CARL
- From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick)
- Newsgroups: comp.os.vms
- Subject: Re: Can DCL programs execute 'other' commands ?
- Date: 27 Jan 1993 01:49:28 GMT
- Organization: HST Wide Field/Planetary Camera
- Lines: 26
- Distribution: world
- Message-ID: <1k4pn8INNjbq@gap.caltech.edu>
- References: <01GTUMJYR28G8Y6FL7@JCSVAX1.BITNET> <1jvfpnINNjtu@gap.caltech.edu>,<1993Jan26.133712.18548@tomcat.rd.ray.com>
- Reply-To: carl@SOL1.GPS.CALTECH.EDU
- NNTP-Posting-Host: sol1.gps.caltech.edu
-
- 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.
- --------------------------------------------------------------------------------
- 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.
-