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

  1. Path: sparky!uunet!gatech!usenet.ins.cwru.edu!agate!ucbvax!mhs.attmail.com!simons/G=Colin/I=CB/S=Sewell/O=H.A.Simons.Ltd/OU=CORP
  2. From: simons/G=Colin/I=CB/S=Sewell/O=H.A.Simons.Ltd/OU=CORP@mhs.attmail.com
  3. Newsgroups: comp.os.vms
  4. Subject: Re: Creating subprocess with $CREPRC; preservation of symbols/logicals
  5. Message-ID: <9301082008.AA13664@ucbvax.Berkeley.EDU>
  6. Date: 8 Jan 93 15:54:11 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Distribution: world
  9. Organization: The Internet
  10. Lines: 32
  11.  
  12. Bob Koehler writes:
  13. |In article <C0I3xM.84F@acsu.buffalo.edu>, masmummy@ubvmsb.cc.buffalo.edu writes...
  14. |>I have a program that needs the use of $CREPRC to create a subprocess.
  15. |>I think LIB$SPAWN is great, but I cannot alter quotas with it.
  16. |> 
  17. |>My problem lies in preserving symbols and/or logicals.
  18. |>Is there any way (with normal privileges) that I can pass information to
  19. |>this subprocess (I need to give it a stream about 80 characters long), without
  20. |>resorting to files, mailboxes, and such?  It appears to me (I am not an expert)
  21. |>that LIB$SPAWN copies the symbol and logical tables over by default.  Can I
  22. |>do that with $CREPRC, too?
  23. |> 
  24. |>Thanks,
  25. |>Bill
  26. |
  27. |Basically, no.  You can put the logical names in a shared table, accessable by
  28. |both processes, but there's no built-in way to pass the contents of the process
  29. |logical name table or the CLI symbol table without using LIB$SPAWN.  IMHO, I
  30. |would most likely resort to a mailbox if faced with this problem.
  31. |
  32.  
  33.     if point of fact, that's exactly what LIB$SPAWN does to transfer symbols
  34.     and process logical names to the spawned process. it transfers them all
  35.     via mailbox.
  36.  
  37.     colin sewell
  38.     h.a.simons ltd.
  39.     vancouver, bc
  40.     "simons/g=colin/s=sewell"@mhs.attmail.com
  41.  
  42.  
  43.  
  44.