home *** CD-ROM | disk | FTP | other *** search
- 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
- From: simons/G=Colin/I=CB/S=Sewell/O=H.A.Simons.Ltd/OU=CORP@mhs.attmail.com
- Newsgroups: comp.os.vms
- Subject: Re: Creating subprocess with $CREPRC; preservation of symbols/logicals
- Message-ID: <9301082008.AA13664@ucbvax.Berkeley.EDU>
- Date: 8 Jan 93 15:54:11 GMT
- Sender: daemon@ucbvax.BERKELEY.EDU
- Distribution: world
- Organization: The Internet
- Lines: 32
-
- Bob Koehler writes:
- |In article <C0I3xM.84F@acsu.buffalo.edu>, masmummy@ubvmsb.cc.buffalo.edu writes...
- |>I have a program that needs the use of $CREPRC to create a subprocess.
- |>I think LIB$SPAWN is great, but I cannot alter quotas with it.
- |>
- |>My problem lies in preserving symbols and/or logicals.
- |>Is there any way (with normal privileges) that I can pass information to
- |>this subprocess (I need to give it a stream about 80 characters long), without
- |>resorting to files, mailboxes, and such? It appears to me (I am not an expert)
- |>that LIB$SPAWN copies the symbol and logical tables over by default. Can I
- |>do that with $CREPRC, too?
- |>
- |>Thanks,
- |>Bill
- |
- |Basically, no. You can put the logical names in a shared table, accessable by
- |both processes, but there's no built-in way to pass the contents of the process
- |logical name table or the CLI symbol table without using LIB$SPAWN. IMHO, I
- |would most likely resort to a mailbox if faced with this problem.
- |
-
- if point of fact, that's exactly what LIB$SPAWN does to transfer symbols
- and process logical names to the spawned process. it transfers them all
- via mailbox.
-
- colin sewell
- h.a.simons ltd.
- vancouver, bc
- "simons/g=colin/s=sewell"@mhs.attmail.com
-
-
-
-