home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / vms / 20677 < prev    next >
Encoding:
Internet Message Format  |  1993-01-09  |  1.9 KB

  1. Path: sparky!uunet!usc!news.service.uci.edu!ucivax!news.claremont.edu!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: Creating subprocess with $CREPRC; preservation of symbols/logicals
  5. Date: 9 Jan 1993 23:12:55 GMT
  6. Organization: HST Wide Field/Planetary Camera
  7. Lines: 26
  8. Distribution: world
  9. Message-ID: <1inm5nINNo4c@gap.caltech.edu>
  10. References: <C0I3xM.84F@acsu.buffalo.edu>
  11. Reply-To: carl@SOL1.GPS.CALTECH.EDU
  12. NNTP-Posting-Host: sol1.gps.caltech.edu
  13.  
  14. In article <C0I3xM.84F@acsu.buffalo.edu>, masmummy@ubvmsb.cc.buffalo.edu writes:
  15. >I have a program that needs the use of $CREPRC to create a subprocess.
  16. >I think LIB$SPAWN is great, but I cannot alter quotas with it.
  17. >
  18. >My problem lies in preserving symbols and/or logicals.
  19. >Is there any way (with normal privileges) that I can pass information to
  20. >this subprocess (I need to give it a stream about 80 characters long), without
  21. >resorting to files, mailboxes, and such?
  22.  
  23. You *COULD* specify some 80-character string for error argument to $CREPRC,
  24. then use $TRNLNM to translate SYS$ERROR.
  25.  
  26. >It appears to me (I am not an expert)
  27. >that LIB$SPAWN copies the symbol and logical tables over by default.  Can I
  28. >do that with $CREPRC, too?
  29.  
  30. No.  You'd have to create a mailbox, then have the subprocess read the mailbox
  31. and use the information so obtained to set up logical names and symbols.
  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.