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

  1. Path: sparky!uunet!ukma!gatech!usenet.ins.cwru.edu!agate!ucbvax!JCSVAX1.BITNET!HANY
  2. From: HANY@JCSVAX1.BITNET
  3. Newsgroups: comp.os.vms
  4. Subject: Can DCL programs execute 'other' commands ?
  5. Message-ID: <01GTUMJYR28G8Y6FL7@JCSVAX1.BITNET>
  6. Date: 23 Jan 93 12:41:00 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Distribution: world
  9. Organization: The Internet
  10. Lines: 18
  11.  
  12. Hi ..
  13.         I am new to writing DCL programs. I tried to make a program
  14. execute commands other than those issued at the '$' prompt, but just
  15. couldn't figure out how to do it. For example .. What would be the code
  16. for a program that would read 2 mail messages, then return back to the
  17. '$' ? .. The following did NOT work :
  18.  
  19. $ mail
  20. $ read 1
  21. $ read 2
  22. $ exit
  23.  
  24. Thanks for any help.
  25. Hany.
  26. [ e-mail: hany@jcsvax1.bitnet
  27.       or: hany%jcsvax1.bitnet@pucc.princeton.edu ]
  28.  
  29.  
  30.