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

  1. 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
  2. From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick)
  3. Newsgroups: comp.os.vms
  4. Subject: Re: Can DCL programs execute 'other' commands ?
  5. Date: 27 Jan 1993 01:49:28 GMT
  6. Organization: HST Wide Field/Planetary Camera
  7. Lines: 26
  8. Distribution: world
  9. Message-ID: <1k4pn8INNjbq@gap.caltech.edu>
  10. References: <01GTUMJYR28G8Y6FL7@JCSVAX1.BITNET> <1jvfpnINNjtu@gap.caltech.edu>,<1993Jan26.133712.18548@tomcat.rd.ray.com>
  11. Reply-To: carl@SOL1.GPS.CALTECH.EDU
  12. NNTP-Posting-Host: sol1.gps.caltech.edu
  13.  
  14. In article <1993Jan26.133712.18548@tomcat.rd.ray.com>, frank@tomcat.rd.ray.com (Frank Sandy) writes:
  15. =In article <1jvfpnINNjtu@gap.caltech.edu> carl@SOL1.GPS.CALTECH.EDU writes:
  16. =>You put $ signs only at the beginnings of DCL commands, not in front of lines
  17. =>which are data for an image.  In your case, you want:
  18. =>    $ MAIL
  19. =>    READ 1
  20. =>    READ 2
  21. =>    EXIT
  22. =
  23. =    Carl's reply is generally correct, but it won't work well for 
  24. =programs like mail that may need to display more than one screen between 
  25. =READ commands.  An indeterminate number of blank lines would be needed 
  26. =between the READ 1 and READ 2, etc.
  27.  
  28. The environment in which the procedure was to execute wasn't specified.  If
  29. its output is to something other than a terminal, then the blank lines aren't
  30. necessary.  I simply took the commands the person who posted the question
  31. apparently wanted to execute and modified his script so it would work.
  32. --------------------------------------------------------------------------------
  33. Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL
  34.  
  35. Disclaimer:  Hey, I understand VAXen and VMS.  That's what I get paid for.  My
  36. understanding of astronomy is purely at the amateur level (or below).  So
  37. unless what I'm saying is directly related to VAX/VMS, don't hold me or my
  38. organization responsible for it.  If it IS related to VAX/VMS, you can try to
  39. hold me responsible for it, but my organization had nothing to do with it.
  40.